diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2019-05-03 08:52:26 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2019-05-03 16:28:28 +0200 |
commit | 013720f0e7bd9558eacf7e3a9852ab922030c947 (patch) | |
tree | 2a8e564f12acd23eea1791ac03367e700464a726 /src/scan-gram.l | |
parent | 365b4d95a49dabdc08d271a31ca3eb9c6591ba91 (diff) | |
download | bison-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.l | 2 |
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 |