summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2021-03-07 15:24:31 +0100
committerAkim Demaille <akim.demaille@gmail.com>2021-03-07 18:41:38 +0100
commit09a22da8c8146d055259c038f95ba93a312e693e (patch)
tree947cc53b1d97d229f96d887346e1e014fed537fc
parentcf899f7a7cc19661861344d2b34cc98f10273cd9 (diff)
downloadbison-09a22da8c8146d055259c038f95ba93a312e693e.tar.gz
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.
-rw-r--r--doc/bison.texi2
1 files changed, 1 insertions, 1 deletions
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.
@{