summaryrefslogtreecommitdiff
path: root/textpre.py
diff options
context:
space:
mode:
Diffstat (limited to 'textpre.py')
-rw-r--r--textpre.py5
1 files changed, 5 insertions, 0 deletions
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