mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 18:23:03 +00:00
bistromathic: check completion
* examples/c/bistromathic/bistromathic.test: here. * examples/c/bistromathic/parse.y (expected_tokens): Fix a memory leak.
This commit is contained in:
@@ -79,3 +79,18 @@ cat >input <<EOF
|
||||
EOF
|
||||
run 0 '> 1 / 0
|
||||
> err: 1.1-5: error: division by zero'
|
||||
|
||||
|
||||
## ------------ ##
|
||||
## Completion. ##
|
||||
## ------------ ##
|
||||
|
||||
sed -e 's/\\t/ /g' >input <<EOF
|
||||
( 1 + \t\t
|
||||
EOF
|
||||
run 0 '> ( 1 +
|
||||
( cos ln
|
||||
- double precision number sin
|
||||
atan exp sqrt
|
||||
> ( 1 +
|
||||
> err: 1.7: syntax error: expected - or ( or double precision number or function or variable before end of file'
|
||||
|
||||
Reference in New Issue
Block a user