summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--preprocessor.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/preprocessor.py b/preprocessor.py
index c6ae137c4..a31386801 100644
--- a/preprocessor.py
+++ b/preprocessor.py
@@ -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(