shithub: pokecrystal

Download patch

ref: d358b39024588daba6e206578ccfd5f49475ded2
parent: 216a7ac1ecde92e366e02f74e88f28eebf33b903
author: Bryan Bishop <[email protected]>
date: Thu Apr 26 06:56:21 EDT 2012

skip lines wth no quotes in textpre.py

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