diff options
Diffstat (limited to 'src/preproc.c')
-rw-r--r-- | src/preproc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/preproc.c b/src/preproc.c index 28f473f..cff8224 100644 --- a/src/preproc.c +++ b/src/preproc.c @@ -45,13 +45,13 @@ struct buffer_ctx { size_t namelen; /* Length of the file name */ size_t xlines; /* Number of #line directives output so far */ struct input_file_ident id; FILE *infile; }; -extern int yy_grecs_flex_debug; +extern int grecs_yy_flex_debug; static struct buffer_ctx *context_stack; static char *linebufbase = NULL; static size_t linebufsize = 0; #define INFILE context_stack->infile #define LOCUS context_stack->locus @@ -429,13 +429,13 @@ push_source(const char *name, int once) ctx->id.i_node = st.st_ino; ctx->id.device = st.st_dev; ctx->infile = fp; ctx->prev = context_stack; context_stack = ctx; - if (yy_grecs_flex_debug) + if (grecs_yy_flex_debug) fprintf (stderr, "Processing file `%s'\n", name); pp_line_stmt(); return 0; } @@ -453,20 +453,20 @@ pop_source() /* Restore previous context */ ctx = context_stack->prev; grecs_free(context_stack); context_stack = ctx; if (!context_stack) { - if (yy_grecs_flex_debug) + if (grecs_yy_flex_debug) fprintf (stderr, "End of input\n"); return 1; } LOCUS.line++; - if (yy_grecs_flex_debug) + if (grecs_yy_flex_debug) fprintf (stderr, "Resuming file `%s' at line %lu\n", LOCUS.file, (unsigned long) LOCUS.line); pp_line_stmt(); return 0; |