You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
skip lines wth no quotes in textpre.py
This commit is contained in:
@ -266,6 +266,11 @@ chars = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for l in sys.stdin:
|
for l in sys.stdin:
|
||||||
|
# skip lines with no quotes
|
||||||
|
if "\"" not in l:
|
||||||
|
sys.stdout.write(l)
|
||||||
|
continue
|
||||||
|
|
||||||
# strip comments
|
# strip comments
|
||||||
asm = ""
|
asm = ""
|
||||||
comment = None
|
comment = None
|
||||||
|
Reference in New Issue
Block a user