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:
H. Peter Anvin 2007-10-11 00:03:26 -07:00
parent d119ce6f9a
commit 54901e1785

View File

@ -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 */