diagnostics: improve accuracy for deprecated %define variables

* src/parse-gram.y: Use the location of the whole definition to record
the location of a %define variable, instead of just the name of the
variable.
Adjust tests.
This commit is contained in:
Akim Demaille
2019-01-12 19:44:36 +01:00
parent ffe2e4aaec
commit 79e79be298
6 changed files with 95 additions and 93 deletions

View File

@@ -1,4 +1,4 @@
/* A Bison parser, made by GNU Bison 3.2.90. */
/* A Bison parser, made by GNU Bison 3.2.90.11-ccb3-dirty. */
/* Bison interface for Yacc-like parsers in C