summaryrefslogtreecommitdiff
path: root/src/reader.h
diff options
context:
space:
mode:
authorAkim Demaille <akim@epita.fr>2002-07-26 06:25:35 +0000
committerAkim Demaille <akim@epita.fr>2002-07-26 06:25:35 +0000
commitfc5734fe23f35e5ce15f6b9c550115fb69113ea2 (patch)
tree0845473ee9d093ad0c12defecc1ddf3da32069a2 /src/reader.h
parent3650b4b8dddf39f6d6f5b2514d1f036548c5fe2e (diff)
downloadbison-fc5734fe23f35e5ce15f6b9c550115fb69113ea2.tar.gz
* src/reader.h, src/reader.c (gram_error): ... can't get
yycontrol without making too strong assumptions on the parser itself. * src/output.c (prepare_tokens): Use the real 0th value of token_translations instead of `0'. * src/parse-gram.y (yyerror): Don't rely on yycontrol being visible here. * data/yacc.c (yyreport_parse_error): Rename yylocation as yylloc for the time being: %locations ought to provide it to yyerror.
Diffstat (limited to 'src/reader.h')
-rw-r--r--src/reader.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/reader.h b/src/reader.h
index 321740a0..8792372e 100644
--- a/src/reader.h
+++ b/src/reader.h
@@ -52,8 +52,7 @@ YY_DECL;
/* From the parser. */
extern int gram_debug;
-void gram_error (gram_control_t *control,
- location_t *loc, const char *msg);
+void gram_error (location_t *loc, const char *msg);
int gram_parse (void *control);
/* The sort of braced code we are in. */