even faster preprocessor

This commit is contained in:
Bryan Bishop 2013-01-10 15:34:30 -06:00
parent f2fd544e20
commit f558edafff
1 changed files with 2 additions and 2 deletions

View File

@ -405,9 +405,9 @@ def macro_test(asm):
token = extract_token(asm) token = extract_token(asm)
# check against all names # check against all names
try: if token in macro_table:
return (macro_table[token], token) return (macro_table[token], token)
except: else:
return (None, None) return (None, None)
def macro_translator(macro, token, line): def macro_translator(macro, token, line):