This commit is contained in:
Akim Demaille
2002-11-07 12:54:51 +00:00
parent 93724f139a
commit 1c0c3e955d

View File

@@ -4109,12 +4109,11 @@ void yyerror (YYLTYPE *locp,
const char *msg); const char *msg);
@end example @end example
@noident @noindent
Please, note that the prototypes are only indications of how the code Please, note that the prototypes are only indications of how the code
produced by Bison will use @code{yyerror}, but you still have freedom produced by Bison will use @code{yyerror}; you still have freedom on the
and the exit value, and even on making @code{yyerror} a variadic exit value, and even on making @code{yyerror} a variadic function. It
function. It is precisely to enable this that the message is passed is precisely to enable this that the message is always passed last.
last.
@vindex yynerrs @vindex yynerrs
The variable @code{yynerrs} contains the number of syntax errors The variable @code{yynerrs} contains the number of syntax errors