Files
bison/examples/c++/glr
Paul Eggert 07e18e7fb4 package: bump copyrights to 2022
Run "make update-copyright".
2022-01-15 11:16:30 -08:00
..
2022-01-15 11:16:30 -08:00
2022-01-15 11:16:30 -08:00
2022-01-15 11:16:30 -08:00
2022-01-15 11:16:30 -08:00

glr

This example demonstrates the use of GLR parsers to handle (local) ambiguities in the C++ language. See the node "Merging GLR Parses" in Bison's documentation.

It uses (Bison) variants to store objects as semantic values. It also demonstrates custom error messages in C++.