Passing an offset to a macro is very useful when using the extended instruction set. The current version does this when you try:
gpasm: macro.c:191: node_to_string: Assertion `0' failed.
This patch seems to do the job on my system:
--- macro.c (revision 546)
+++ macro.c (working copy)
@@ -186,6 +186,11 @@
cat_string(p->value.string);
cat_string("\"");
break;
Anonymous
The changes look pretty safe, but I'll need to double-check it later.
Can anybody verify / confirm if this is solved in gputils 0.15.0 or newer by gpasm lexer and parser redesign and introduction of a separate preprocessing pass?
Borut