Files
bison/examples/c/lexcalc
Akim Demaille 0adda755a2 examples: fixes in lexcalc
* examples/c/lexcalc/parse.y: Formatting/comment changes.
(line): Don't return a value.
Print the result here, which avoids printing a value for lines with an
error.
(yyerror): Be sure to increment the pointed, not the pointer...
* examples/c/lexcalc/lexcalc.test: Check errors.
* examples/c/lexcalc/local.mk: Fix a dependency.
2019-02-16 16:51:15 +01:00
..
2019-02-16 16:51:15 +01:00
2019-02-16 16:51:15 +01:00
2019-02-16 16:51:15 +01:00
2019-01-05 14:58:05 +01:00

lexcalc - calculator with Flex and Bison

This directory contains lexcalc, the traditional example of using Flex and Bison to build a simple calculator.