make a MacroException more verbose in preprocessor
This commit is contained in:
@@ -520,7 +520,8 @@ def macro_translator(macro, token, line):
|
|||||||
allowed_length += 2 # bank and label
|
allowed_length += 2 # bank and label
|
||||||
else:
|
else:
|
||||||
raise MacroException(
|
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:
|
else:
|
||||||
raise MacroException(
|
raise MacroException(
|
||||||
|
Reference in New Issue
Block a user