mirror of https://github.com/pret/pokecrystal.git
even faster preprocessor
This commit is contained in:
parent
f2fd544e20
commit
f558edafff
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue