slicc: tweak file enumeration for scons
Right now .cc and .hh files are handled separately, but then they're just munged together at the end by scons, so it doesn't buy us anything. Might as well munge from the start since we'll eventually be adding generated Python files to the list too.
This commit is contained in:
@@ -69,9 +69,7 @@ def slicc_emitter(target, source, env):
|
||||
for name in slicc.load(files, verbose=True):
|
||||
print " %s" % name
|
||||
|
||||
hh,cc = slicc.files()
|
||||
target.extend(sorted(hh))
|
||||
target.extend(sorted(cc))
|
||||
target.extend(sorted(slicc.files()))
|
||||
return target, source
|
||||
|
||||
def slicc_action(target, source, env):
|
||||
|
||||
Reference in New Issue
Block a user