Files
bison/tests
Akim Demaille f8db8fe4d7 fix: don't die when EOF token is defined twice
With

    %token EOF 0 EOF 0

we get

    input.y:3.14-16: warning: symbol EOF redeclared [-Wother]
        3 | %token EOF 0 EOF 0
          |              ^~~
    input.y:3.8-10: previous declaration
        3 | %token EOF 0 EOF 0
          |        ^~~
    Assertion failed: (nsyms == ntokens + nvars), function check_and_convert_grammar,
        file /Users/akim/src/gnu/bison/src/reader.c, line 839.

Reported by Marc Schönefeld.

* src/symtab.c (symbol_user_token_number_set): Register only the
first definition of the end of input token.
* tests/input.at (Symbol redeclared): Check that case.
2019-09-08 11:38:29 +02:00
..
2019-02-21 06:46:07 +01:00
2019-04-29 22:27:01 +02:00
2019-05-08 09:11:37 +02:00
2019-04-25 20:20:59 +02:00
2019-04-24 13:21:24 +02:00
2019-04-25 20:20:59 +02:00
2019-04-23 18:29:10 +02:00
2019-04-03 19:20:39 +02:00
2019-05-26 15:29:37 +02:00
2019-04-23 18:29:10 +02:00
2019-02-21 06:46:07 +01:00
2019-02-21 17:46:11 +01:00
2019-04-23 18:29:10 +02:00
2019-09-08 11:38:29 +02:00
2019-02-09 08:23:50 +01:00
2019-04-23 18:29:10 +02:00
2019-04-23 18:29:10 +02:00
2019-02-21 17:46:11 +01:00