diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-21 11:00:54 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-21 11:00:54 +0300 |
commit | 03e0fbafa688bfae3a82fa868b4b1d5eceb4c2d4 (patch) | |
tree | cca545eeab4c9fa08441db4dc134faed701b5ab8 | |
parent | 7d51a8110726e4b812483e01afcaea70adcba408 (diff) | |
download | grecs-03e0fbafa688bfae3a82fa868b4b1d5eceb4c2d4.tar.gz grecs-03e0fbafa688bfae3a82fa868b4b1d5eceb4c2d4.tar.bz2 |
Change yyggrecs_ prefix to yy_grecs_
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/preproc.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 62e429b..6818434 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -31,7 +31,7 @@ INCLUDES = -I$(top_srcdir)/gnu -I../gnu -I$(srcdir) AM_YFLAGS = -dtv AM_LFLAGS = -dvp # Use a modified ylwrap implementation that understands the --prefix option. -YLWRAP = $(top_srcdir)/$(grex_topdir)grecs/build-aux/ylwrap --prefix yygrecs_ +YLWRAP = $(top_srcdir)/$(grex_topdir)grecs/build-aux/ylwrap --prefix yy_grecs incdir=$(pkgdatadir)/$(VERSION)/include inc_DATA = $(PP_SETUP_FILE) diff --git a/src/preproc.c b/src/preproc.c index 8ae088d..1be7bbc 100644 --- a/src/preproc.c +++ b/src/preproc.c @@ -60,7 +60,7 @@ struct buffer_ctx FILE *infile; }; -extern int yy_flex_debug; +extern int yy_grecs_flex_debug; static struct buffer_ctx *context_stack; #define INFILE context_stack->infile @@ -450,7 +450,7 @@ push_source (const char *name, int once) ctx->prev = context_stack; context_stack = ctx; - if (yy_flex_debug) + if (yy_grecs_flex_debug) fprintf (stderr, "Processing file `%s'\n", name); pp_line_stmt (); @@ -475,14 +475,14 @@ pop_source () if (!context_stack) { - if (yy_flex_debug) + if (yy_grecs_flex_debug) fprintf (stderr, "End of input\n"); return 1; } LOCUS.line++; - if (yy_flex_debug) + if (yy_grecs_flex_debug) fprintf (stderr, "Resuming file `%s' at line %lu\n", LOCUS.file, (unsigned long) LOCUS.line); |