From d358b39024588daba6e206578ccfd5f49475ded2 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Thu, 26 Apr 2012 10:56:21 -0500 Subject: skip lines wth no quotes in textpre.py --- textpre.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'textpre.py') diff --git a/textpre.py b/textpre.py index e7f191a95..58412d8ed 100644 --- a/textpre.py +++ b/textpre.py @@ -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 -- cgit v1.2.3