mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 22:33:03 +00:00
location: pass the location first
* src/location.h, src/location.c (location_print): For consistency with other data structures and other location_* routines, pass the location argument first. * src/complain.c: Adjust. (location_caret): Likewise. * src/parse-gram.y: Adjust.
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
static YYLTYPE lloc_default (YYLTYPE const *, int);
|
||||
|
||||
#define YY_LOCATION_PRINT(File, Loc) \
|
||||
location_print (File, Loc)
|
||||
location_print (Loc, File)
|
||||
|
||||
static void version_check (location const *loc, char const *version);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user