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 | |||
@@ -48,7 +48,7 @@ struct buffer_ctx { | |||
48 | FILE *infile; | 48 | FILE *infile; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | extern int yy_grecs_flex_debug; | 51 | extern int grecs_yy_flex_debug; |
52 | static struct buffer_ctx *context_stack; | 52 | static struct buffer_ctx *context_stack; |
53 | static char *linebufbase = NULL; | 53 | static char *linebufbase = NULL; |
54 | static size_t linebufsize = 0; | 54 | static size_t linebufsize = 0; |
@@ -432,7 +432,7 @@ push_source(const char *name, int once) | |||
432 | ctx->prev = context_stack; | 432 | ctx->prev = context_stack; |
433 | context_stack = ctx; | 433 | context_stack = ctx; |
434 | 434 | ||
435 | if (yy_grecs_flex_debug) | 435 | if (grecs_yy_flex_debug) |
436 | fprintf (stderr, "Processing file `%s'\n", name); | 436 | fprintf (stderr, "Processing file `%s'\n", name); |
437 | 437 | ||
438 | pp_line_stmt(); | 438 | pp_line_stmt(); |
@@ -456,14 +456,14 @@ pop_source() | |||
456 | context_stack = ctx; | 456 | context_stack = ctx; |
457 | 457 | ||
458 | if (!context_stack) { | 458 | if (!context_stack) { |
459 | if (yy_grecs_flex_debug) | 459 | if (grecs_yy_flex_debug) |
460 | fprintf (stderr, "End of input\n"); | 460 | fprintf (stderr, "End of input\n"); |
461 | return 1; | 461 | return 1; |
462 | } | 462 | } |
463 | 463 | ||
464 | LOCUS.line++; | 464 | LOCUS.line++; |
465 | 465 | ||
466 | if (yy_grecs_flex_debug) | 466 | if (grecs_yy_flex_debug) |
467 | fprintf (stderr, "Resuming file `%s' at line %lu\n", | 467 | fprintf (stderr, "Resuming file `%s' at line %lu\n", |
468 | LOCUS.file, (unsigned long) LOCUS.line); | 468 | LOCUS.file, (unsigned long) LOCUS.line); |
469 | 469 | ||