mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
The locations are actually false: they should include the location of the semicolon (we print statements), but they don't. * examples/c++/glr/c++-types.test, examples/c++/glr/c++-types.yy, * examples/c/glr/c++-types.test, examples/c/glr/c++-types.y, * tests/cxx-type.at: Fix locations and adjust expectations.
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.