mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-26 12:11:47 +00:00
Prepare for macros being defined in "other ways" which are not yet put in the macro definition table.
This commit is contained in:
@@ -632,7 +632,7 @@ static int assemble(
|
||||
|
||||
saveline = stmtno;
|
||||
list_level = -1;
|
||||
mac = defmacro(maccp, &macstack, TRUE);
|
||||
mac = defmacro(maccp, &macstack, CALLED_NOLIST);
|
||||
if (mac == NULL) {
|
||||
report(stack->top, "Failed to define macro " "called %s\n", label);
|
||||
}
|
||||
@@ -652,7 +652,7 @@ static int assemble(
|
||||
|
||||
case P_MACRO:
|
||||
{
|
||||
MACRO *mac = defmacro(cp, stack, FALSE);
|
||||
MACRO *mac = defmacro(cp, stack, CALLED_NORMAL);
|
||||
|
||||
return mac != NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user