SConscript (6657:ef5fae93a3b2) SConscript (6713:4b6fb0a99039)
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 58 unchanged lines hidden (view full) ---

67 slicc = SLICC(debug=True)
68 print "SLICC parsing..."
69 for name in slicc.load(files, verbose=True):
70 print " %s" % name
71
72 hh,cc = slicc.files()
73 target.extend(sorted(hh))
74 target.extend(sorted(cc))
1# -*- mode:python -*-
2
3# Copyright (c) 2009 The Hewlett-Packard Development Company
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met: redistributions of source code must retain the above copyright

--- 58 unchanged lines hidden (view full) ---

67 slicc = SLICC(debug=True)
68 print "SLICC parsing..."
69 for name in slicc.load(files, verbose=True):
70 print " %s" % name
71
72 hh,cc = slicc.files()
73 target.extend(sorted(hh))
74 target.extend(sorted(cc))
75 f = file('/tmp/asdf', 'w')
76 for t in target:
77 print >>f, t
78 return target, source
79
80def slicc_action(target, source, env):
81 protocol = source[0].get_contents()
82 pdir = str(protocol_dir)
83 hdir = str(html_dir)
84
85 if not isdir(pdir):

--- 32 unchanged lines hidden ---
75 return target, source
76
77def slicc_action(target, source, env):
78 protocol = source[0].get_contents()
79 pdir = str(protocol_dir)
80 hdir = str(html_dir)
81
82 if not isdir(pdir):

--- 32 unchanged lines hidden ---