Files
bison/examples/c/lexcalc
Akim Demaille 683040b324 multistart: allow tokens as start symbols
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.
2020-09-27 09:44:23 +02:00
..
2020-06-01 08:29:53 +02:00
2020-09-19 08:31:49 +02:00
2020-07-08 22:19:37 +02:00

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.