Files
bison/examples/calc++/test
Akim Demaille 828c373b6d Bind examples/calc++ to the package.
* examples/calc++/Makefile: Remove, replaced by...
* examples/calc++/Makefile.am: ... this new file.
* examples/calc++/test: Remove input.
* examples/calc++/compile: Remove.
* examples/Makefile.am: New.
* configure.ac, Makefile.am: Adjust.
* doc/Makefile.am (clean-local): New, for more recent texi2dvis.
2005-07-06 07:49:25 +00:00

30 lines
253 B
Bash
Executable File

#! /bin/sh
set +e
cat >input <<EOF
a := 1
b := 2
c := 3
d := a + b * c
d
EOF
./calc++ input
./calc++ -p input
cat >input <<EOF
a := 1
d := a + b * c
EOF
./calc++ input
set -x
echo toto
cat >input <<EOF
toto := 1
toto
EOF
./calc++ -s input
rm input