From 09a22da8c8146d055259c038f95ba93a312e693e Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sun, 7 Mar 2021 15:24:31 +0100 Subject: [PATCH] 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. --- doc/bison.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bison.texi b/doc/bison.texi index 919dc0ac..5bcad8a8 100644 --- a/doc/bison.texi +++ b/doc/bison.texi @@ -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. @{