mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-23 19:23:02 +00:00
doc: don't mention YY_LOCATION_PRINT
* doc/bison.texi (Syntax Error Reporting Function): Don't refer to YY_LOCATION_PRINT, it is a private internal detail.
This commit is contained in:
@@ -7813,7 +7813,7 @@ static int
|
|||||||
yyreport_syntax_error (const yypcontext_t *ctx)
|
yyreport_syntax_error (const yypcontext_t *ctx)
|
||||||
@{
|
@{
|
||||||
int res = 0;
|
int res = 0;
|
||||||
YY_LOCATION_PRINT (stderr, *yypcontext_location (ctx));
|
location_print (stderr, yypcontext_location (ctx));
|
||||||
fprintf (stderr, ": syntax error");
|
fprintf (stderr, ": syntax error");
|
||||||
// Report the tokens expected at this point.
|
// Report the tokens expected at this point.
|
||||||
@{
|
@{
|
||||||
|
|||||||
Reference in New Issue
Block a user