aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpphash.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpphash.c')
-rw-r--r--gcc/cpphash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cpphash.c b/gcc/cpphash.c
index 8a0c887..a7f19f1 100644
--- a/gcc/cpphash.c
+++ b/gcc/cpphash.c
@@ -783,6 +783,7 @@ macarg (pfile, rest_args)
/* Try to parse as much of the argument as exists at this
input stack level. */
pfile->no_macro_expand++;
+ pfile->no_directives++;
CPP_OPTIONS (pfile)->no_line_commands++;
for (;;)
{
@@ -823,6 +824,7 @@ done:
CPP_OPTIONS (pfile)->put_out_comments = save_put_out_comments;
CPP_OPTIONS (pfile)->no_line_commands--;
pfile->no_macro_expand--;
+ pfile->no_directives--;
return token;
}