Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: bison/src/bison/2.4.1/bison-2.4.1-src/examples/calc++/test

Issue 10807020: Add native Windows binary for bison. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: bison/src/bison/2.4.1/bison-2.4.1-src/examples/calc++/test
===================================================================
--- bison/src/bison/2.4.1/bison-2.4.1-src/examples/calc++/test (revision 0)
+++ bison/src/bison/2.4.1/bison-2.4.1-src/examples/calc++/test (revision 0)
@@ -0,0 +1,31 @@
+#! /bin/sh
+
+test -z "$VERBOSE" && {
+ exec > /dev/null 2>&1
+ set -x
+}
+
+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
+
+cat >input <<EOF
+toto := 1
+toto
+EOF
+./calc++ -s input
+
+rm input
« no previous file with comments | « bison/src/bison/2.4.1/bison-2.4.1-src/examples/calc++/stack.hh ('k') | bison/src/bison/2.4.1/bison-2.4.1-src/examples/extexi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698