diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2021-09-07 08:21:40 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2021-09-12 12:03:58 +0200 |
commit | 2142e5915576b124d76e3acecd34e4bbf538d2fe (patch) | |
tree | e586523725fd02a55c9df66fc49502450875133f /tests/headers.at | |
parent | a75072476e251db338f392bef4200d3a2fe2c17a (diff) | |
download | bison-2142e5915576b124d76e3acecd34e4bbf538d2fe.tar.gz |
c++: demonstrate custom error messages in the examples
Let's use c++/glr to demonstrate custom error messages in C++ (not
just in glr2.cc).
* examples/c++/glr/c++-types.yy (report_syntax_error): New.
* examples/c++/glr/c++-types.test: Adjust.
* examples/c/bistromathic/parse.y: Comment changes.
* tests/local.at (AT_YYERROR_DEFINE(c++)): Use a nicer way to print
the lookakead's name.
Diffstat (limited to 'tests/headers.at')
0 files changed, 0 insertions, 0 deletions