summaryrefslogtreecommitdiff
path: root/src/scan-gram.l
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2019-05-03 08:52:26 +0200
committerAkim Demaille <akim.demaille@gmail.com>2019-05-03 16:28:28 +0200
commit013720f0e7bd9558eacf7e3a9852ab922030c947 (patch)
tree2a8e564f12acd23eea1791ac03367e700464a726 /src/scan-gram.l
parent365b4d95a49dabdc08d271a31ca3eb9c6591ba91 (diff)
downloadbison-013720f0e7bd9558eacf7e3a9852ab922030c947.tar.gz
style: use consistently *_loc for locations
Some members are called foo_location, others are foo_loc. Stick to the latter. * src/gram.h, src/location.h, src/location.c, src/output.c, * src/parse-gram.y, src/reader.h, src/reader.c, src/reduce.c, * src/scan-gram.l, src/symlist.h, src/symlist.c, src/symtab.h, * src/symtab.c: Use _loc consistently, not _location.
Diffstat (limited to 'src/scan-gram.l')
-rw-r--r--src/scan-gram.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scan-gram.l b/src/scan-gram.l
index f03acfd6..ca4173b8 100644
--- a/src/scan-gram.l
+++ b/src/scan-gram.l
@@ -161,7 +161,7 @@ eqopt ({sp}=)?
int context_state PACIFY_CC (= 0);
/* Location of most recent identifier, when applicable. */
- location id_loc PACIFY_CC (= empty_location);
+ location id_loc PACIFY_CC (= empty_loc);
/* Where containing code started, when applicable. Its initial
value is relevant only when yylex is invoked in the SC_EPILOGUE