even better performance for read_line

This commit is contained in:
Bryan Bishop 2013-08-31 12:03:48 -05:00
parent 473bd192d9
commit a74462bc52
1 changed files with 1 additions and 1 deletions

View File

@ -609,7 +609,7 @@ def macro_translator(macro, token, line, show_original_lines=False, do_macro_san
def read_line(l, macro_table):
"""Preprocesses a given line of asm."""
if l in ["\n", ""]:
if l in ["\n", ""] or l[0] == ";":
sys.stdout.write(l)
return # jump out early