You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
even better performance for read_line
This commit is contained in:
@@ -609,7 +609,7 @@ def macro_translator(macro, token, line, show_original_lines=False, do_macro_san
|
|||||||
def read_line(l, macro_table):
|
def read_line(l, macro_table):
|
||||||
"""Preprocesses a given line of asm."""
|
"""Preprocesses a given line of asm."""
|
||||||
|
|
||||||
if l in ["\n", ""]:
|
if l in ["\n", ""] or l[0] == ";":
|
||||||
sys.stdout.write(l)
|
sys.stdout.write(l)
|
||||||
return # jump out early
|
return # jump out early
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user