You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
even faster preprocessor
This commit is contained in:
@@ -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):
|
||||||
|
Reference in New Issue
Block a user