skip lines wth no quotes in textpre.py

This commit is contained in:
Bryan Bishop 2012-04-26 10:56:21 -05:00
parent 216a7ac1ec
commit d358b39024

View File

@ -266,6 +266,11 @@ chars = {
}
for l in sys.stdin:
# skip lines with no quotes
if "\"" not in l:
sys.stdout.write(l)
continue
# strip comments
asm = ""
comment = None