mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
skip lines wth no quotes in textpre.py
This commit is contained in:
parent
216a7ac1ec
commit
d358b39024
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user