From a74462bc52ee3050e13680cd35156589e7f45555 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sat, 31 Aug 2013 12:03:48 -0500 Subject: [PATCH] even better performance for read_line --- preprocessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preprocessor.py b/preprocessor.py index 79fb9224f..10e407380 100644 --- a/preprocessor.py +++ b/preprocessor.py @@ -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