From 54901e1785dcc7e8aec3198f58f580165856672f Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 11 Oct 2007 00:03:26 -0700 Subject: [PATCH] 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. --- preproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preproc.c b/preproc.c index 003038b3..a19db0a0 100644 --- a/preproc.c +++ b/preproc.c @@ -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 */