mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
examples: bistromathic: fix location tracking
* examples/c/bistromathic/scan.l (LOCATION_STEP): New. Use to properly ignore blanks. * examples/c/bistromathic/bistromathic.test: Check that case.
This commit is contained in:
@@ -46,3 +46,8 @@ cat >input <<EOF
|
||||
*
|
||||
EOF
|
||||
run 0 "err: 1.1: syntax error expected end of file or - or ( or end of line or double precision number or function or variable before *"
|
||||
|
||||
cat >input <<EOF
|
||||
1 + 2 * * 3
|
||||
EOF
|
||||
run 0 "err: 1.9: syntax error expected - or ( or double precision number or function or variable before *"
|
||||
|
||||
Reference in New Issue
Block a user