summaryrefslogtreecommitdiff
path: root/tests/headers.at
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2021-09-07 08:21:40 +0200
committerAkim Demaille <akim.demaille@gmail.com>2021-09-12 12:03:58 +0200
commit2142e5915576b124d76e3acecd34e4bbf538d2fe (patch)
treee586523725fd02a55c9df66fc49502450875133f /tests/headers.at
parenta75072476e251db338f392bef4200d3a2fe2c17a (diff)
downloadbison-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