diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2019-02-16 13:18:31 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2019-02-16 16:51:15 +0100 |
commit | 0adda755a2f6703c561cc7d99faf69fe0c427509 (patch) | |
tree | ce95d8f55e568bed36dfe0623ad969a726338ef3 /THANKS | |
parent | 0782ed327401d1b59c059c89c8630d002260b4f7 (diff) | |
download | bison-0adda755a2f6703c561cc7d99faf69fe0c427509.tar.gz |
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.
Diffstat (limited to 'THANKS')
0 files changed, 0 insertions, 0 deletions