mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-18 13:43:27 +00:00
examples: use YYLOCATION_PRINT
* examples/c/bistromathic/parse.y, examples/c/glr/c++-types.y, * examples/c/lexcalc/parse.y: Don't use the private internal detail `YY_LOCATION_PRINT`, use `YYLOCATION_PRINT`.
This commit is contained in:
1 parent
c80b404dfa
commit
e0ab5c324a
3 files changed
+8
-8
No files matched your search
@@ -120,7 +120,7 @@ exp:
|
||||
|
||||
void yyerror (YYLTYPE *loc, const char *msg)
|
||||
{
|
||||
YY_LOCATION_PRINT (stderr, *loc);
|
||||
YYLOCATION_PRINT (stderr, loc);
|
||||
fprintf (stderr, ": %s\n", msg);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user