SConscript (6713:4b6fb0a99039) SConscript (6714:028047200ff7)
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

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

64
65def slicc_emitter(target, source, env):
66 files = [s.srcnode().abspath for s in source[1:]]
67 slicc = SLICC(debug=True)
68 print "SLICC parsing..."
69 for name in slicc.load(files, verbose=True):
70 print " %s" % name
71
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

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

64
65def slicc_emitter(target, source, env):
66 files = [s.srcnode().abspath for s in source[1:]]
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))
72 target.extend(sorted(slicc.files()))
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 ---
73 return target, source
74
75def slicc_action(target, source, env):
76 protocol = source[0].get_contents()
77 pdir = str(protocol_dir)
78 hdir = str(html_dir)
79
80 if not isdir(pdir):

--- 32 unchanged lines hidden ---