mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-09 08:51:18 +08:00
preproc.c: MMacro.in_progress is not a boolean
Per the comment: * In a MMacro describing a `%rep' block, the `in_progress' field * isn't merely boolean, but gives the number of repeats left to * run. This fixes the "global" directive not getting recognized, since it repeats over all its arguments.
This commit is contained in:
parent
d119ce6f9a
commit
54901e1785
@ -105,7 +105,7 @@ struct MMacro {
|
||||
bool casesense;
|
||||
bool plus; /* is the last parameter greedy? */
|
||||
bool nolist; /* is this macro listing-inhibited? */
|
||||
bool in_progress;
|
||||
int in_progress;
|
||||
Token *dlist; /* All defaults as one list */
|
||||
Token **defaults; /* Parameter default pointers */
|
||||
int ndefs; /* number of default parameters */
|
||||
|
Loading…
Reference in New Issue
Block a user