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:
Akim Demaille
2021-03-07 15:24:31 +01:00
parent cf899f7a7c
commit 09a22da8c8

View File

@@ -7813,7 +7813,7 @@ static int
yyreport_syntax_error (const yypcontext_t *ctx)
@{
int res = 0;
YY_LOCATION_PRINT (stderr, *yypcontext_location (ctx));
location_print (stderr, yypcontext_location (ctx));
fprintf (stderr, ": syntax error");
// Report the tokens expected at this point.
@{