mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08: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