mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 12:53:03 +00:00
After all, why not? * src/reader.c (switching_token): Use symbol_id_get. (check_start_symbols): Require that the start symbol is a token only if it's the only one. * examples/c/lexcalc/parse.y: Let NUM be a start symbol.
lexcalc - calculator with Flex and Bison
This directory contains lexcalc, the traditional example of using Flex and Bison to build a simple calculator.
It features detailed syntax errors with locations.