#
# parse-ambig.sh,  3 May 26


# Compare parse trees ambiguity variants
./cparser 2 < multdecl-T.c &> mdT.out
./cparser 2 < multdecl-V.c &> mdV.out
diff md*out

./cparser 2 < unary-binary-T.c &> ubT.out
./cparser 2 < unary-binary-V.c &> ubV.out
diff ub*out

# Test syntax error recovery
./cparser 0 < s1error.c
./cparser 0 < s2error.c
./cparser 0 < s3error.c
./cparser 0 < s4error.c

