mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
make a MacroException more verbose in preprocessor
This commit is contained in:
parent
93514b1862
commit
ebb591a7ec
@ -520,7 +520,8 @@ def macro_translator(macro, token, line):
|
||||
allowed_length += 2 # bank and label
|
||||
else:
|
||||
raise MacroException(
|
||||
"dunno what to do with a macro param with a size > 3"
|
||||
"dunno what to do with a macro param with a size > 3 (size={size})"
|
||||
.format(size=param_klass.size)
|
||||
)
|
||||
else:
|
||||
raise MacroException(
|
||||
|
Loading…
Reference in New Issue
Block a user