projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6f1d95
)
scons: ignore blank lines in .slicc files
author
Steve Reinhardt
<steve.reinhardt@amd.com>
Sat, 30 Jan 2010 04:29:17 +0000
(20:29 -0800)
committer
Steve Reinhardt
<steve.reinhardt@amd.com>
Sat, 30 Jan 2010 04:29:17 +0000
(20:29 -0800)
src/mem/protocol/SConscript
patch
|
blob
|
history
diff --git
a/src/mem/protocol/SConscript
b/src/mem/protocol/SConscript
index 453b3711952db97f007ea0c954774a2652f41322..8d9ebf3b17079728ea35a9c917e1bc4562c2eeb0 100644
(file)
--- a/
src/mem/protocol/SConscript
+++ b/
src/mem/protocol/SConscript
@@
-57,7
+57,7
@@
for root,dirs,files in os.walk(slicc_dir.srcnode().abspath):
def slicc_scanner(node, env, path):
contents = node.get_contents()
- files = [ line.strip() for line in contents.splitlines() ]
+ files = [ line.strip() for line in contents.splitlines()
if line
]
return files
env.Append(SCANNERS=Scanner(function=slicc_scanner,skeys=['.slicc']))