Files
bison/tests
Valentin Tolmer 5202b6ac1d gram: correct token numbering in precedence declarations
In a precedence declaration, when tokens are declared with a litteral
character (e.g., 'a') or with a identifier (e.g., B), Bison behaved
differently: the litteral tokens would be numbered first, and then the
other ones, leading to the following grammar:

  %right A B 'c' 'd'

being numbered as such: 'c' 'd' A B.

* src/parse-gram.y (symbol.prec): Set the symbol number when reading the
symbols.
* tests/conflicts.at (Token declaration order: literals vs. identifiers):
New.

Signed-off-by: Akim Demaille <akim@lrde.epita.fr>
2013-03-06 10:31:47 +01:00
..
2008-11-16 19:46:16 +01:00
2013-02-18 10:01:28 +01:00
2013-02-19 17:47:13 +01:00
2013-02-18 10:01:28 +01:00
2013-01-12 16:14:16 +01:00
2013-02-18 10:01:28 +01:00
2013-02-18 10:01:28 +01:00
2013-02-23 16:16:15 +01:00
2013-01-28 17:46:13 +01:00
2013-01-12 16:14:16 +01:00
2013-02-18 10:01:27 +01:00
2013-02-18 10:01:28 +01:00
2013-02-18 10:01:28 +01:00
2013-01-12 16:14:16 +01:00