Files
bison/tests
Akim Demaille 3fa59c32fc glr2.cc: rely on symbol kinds rather than token kinds
Instead of tracking the lookahead with yychar, use yytoken.  This is
consistent with lalr1.cc, saves us from calls to YYTRANSLATE (except
when calling yylex), and makes it easier to migrate to using
symbol_type.

* data/skeletons/glr2.cc: Replace all uses of `int yychar` with
`symbol_kind_type yytoken`.
(yygetToken): Don't take/return the lookahead's token-kind and
symbol-kind, just work directly on yystack's `yytoken` member.

* tests/glr-regression.at (AT_PRINT_LOOKAHEAD_DECLARE)
(AT_PRINT_LOOKAHEAD_DEFINE): New.
Adjust to the fact that we have yytoken, not yychar, in glr2.cc.
2021-01-10 17:04:06 +01:00
..
2019-02-21 06:46:07 +01:00
2020-01-10 19:16:23 +01:00
2021-01-03 19:57:10 +01:00
2021-01-07 18:51:48 +01:00
2021-01-10 17:02:54 +01:00
2020-12-26 14:26:23 +01:00
2020-09-19 17:49:03 +02:00
2020-11-30 16:48:03 +01:00
2020-11-03 08:46:54 +01:00
2020-05-02 09:27:16 +02:00
2020-01-10 19:16:23 +01:00
2020-05-21 20:14:59 +02:00
2020-09-19 17:49:03 +02:00
2020-01-10 19:16:23 +01:00
2020-11-30 16:48:03 +01:00
2020-12-26 14:26:23 +01:00
2020-09-27 19:29:29 +02:00
2019-11-03 10:32:22 +01:00

AT_BISON_OPTION_PUSHDEFS/AT_BISON_OPTION_POPDEFS

These two macros must be given the (main) directives so that they define a number of other macros to:

  • what the language is (so what compiler tool chain to use, what definition of yylex/yyerror, etc.)
  • what skeleton is used

Keywords

  • action
  • api.value.type
  • c++
  • cex: counterexamples.
  • d: d language
  • deprec: deprecated features.
  • diagnostics
  • glr
  • graph
  • java
  • lac
  • %merge
  • multistart
  • push
  • report
  • %union
  • variant