aboutsummaryrefslogtreecommitdiff
path: root/src/preproc.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-04-21 11:00:54 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-04-21 11:00:54 +0300
commit03e0fbafa688bfae3a82fa868b4b1d5eceb4c2d4 (patch)
treecca545eeab4c9fa08441db4dc134faed701b5ab8 /src/preproc.c
parent7d51a8110726e4b812483e01afcaea70adcba408 (diff)
downloadgrecs-03e0fbafa688bfae3a82fa868b4b1d5eceb4c2d4.tar.gz
grecs-03e0fbafa688bfae3a82fa868b4b1d5eceb4c2d4.tar.bz2
Change yyggrecs_ prefix to yy_grecs_
Diffstat (limited to 'src/preproc.c')
-rw-r--r--src/preproc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/preproc.c b/src/preproc.c
index 8ae088d..1be7bbc 100644
--- a/src/preproc.c
+++ b/src/preproc.c
@@ -57,13 +57,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_flex_debug;
+extern int yy_grecs_flex_debug;
static struct buffer_ctx *context_stack;
#define INFILE context_stack->infile
#define LOCUS context_stack->locus
static char *linebuf;
@@ -447,13 +447,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_flex_debug)
+ if (yy_grecs_flex_debug)
fprintf (stderr, "Processing file `%s'\n", name);
pp_line_stmt ();
return 0;
}
@@ -472,20 +472,20 @@ pop_source ()
ctx = context_stack->prev;
free (context_stack);
context_stack = ctx;
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);
pp_line_stmt ();
return 0;

Return to:

Send suggestions and report system problems to the System administrator.