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/location.h | |
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/location.h')
-rw-r--r-- | src/location.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location.h b/src/location.h index 2539f27f..995e13a4 100644 --- a/src/location.h +++ b/src/location.h @@ -102,7 +102,7 @@ typedef struct # define GRAM_LTYPE location # define EMPTY_LOCATION_INIT {{NULL, 0, 0, 0}, {NULL, 0, 0, 0}} -extern location const empty_location; +extern location const empty_loc; /* Set *LOC and adjust scanner cursor to account for token TOKEN of size SIZE. */ |