]> git.saurik.com Git - bison.git/commitdiff
diagnostics: use appropriate location for useless precedence/associativity
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 22 Apr 2013 09:26:28 +0000 (11:26 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 22 Apr 2013 09:36:22 +0000 (11:36 +0200)
* src/symtab.c (symbol_precedence_set): Use prec_location, not
location (which is the first occurrence of the symbol, possibly just
%token).
Also, as redefinitions are not allowed, keep the first values, not
the subsequent ones.
* tests/conflicts.at, tests/existing.at, tests/regression.at: Adjust.


No differences found