diff options
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/protocol/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/protocol/SConscript b/src/mem/protocol/SConscript index 453b37119..8d9ebf3b1 100644 --- 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'])) |