Making check in config make[1]: Entering directory `/build/bison-2.1/config' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/build/bison-2.1/config' Making check in po make[1]: Entering directory `/build/bison-2.1/po' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/build/bison-2.1/po' Making check in runtime-po make[1]: Entering directory `/build/bison-2.1/runtime-po' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/build/bison-2.1/runtime-po' Making check in lib make[1]: Entering directory `/build/bison-2.1/lib' make check-am make[2]: Entering directory `/build/bison-2.1/lib' make[2]: Nothing to be done for `check-am'. make[2]: Leaving directory `/build/bison-2.1/lib' make[1]: Leaving directory `/build/bison-2.1/lib' Making check in data make[1]: Entering directory `/build/bison-2.1/data' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/build/bison-2.1/data' Making check in src make[1]: Entering directory `/build/bison-2.1/src' make check-am make[2]: Entering directory `/build/bison-2.1/src' make[2]: Nothing to be done for `check-am'. make[2]: Leaving directory `/build/bison-2.1/src' make[1]: Leaving directory `/build/bison-2.1/src' Making check in doc make[1]: Entering directory `/build/bison-2.1/doc' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/build/bison-2.1/doc' Making check in examples make[1]: Entering directory `/build/bison-2.1/examples' Making check in calc++ make[2]: Entering directory `/build/bison-2.1/examples/calc++' make check-am make[3]: Entering directory `/build/bison-2.1/examples/calc++' make check-TESTS make[4]: Entering directory `/build/bison-2.1/examples/calc++' 7 Starting parse Entering state 0 Reducing stack by rule 3 (line 7395), -> assignments Stack now 0 Entering state 2 Reading a token: Next token is token "identifier" (input:1.0: a) Shifting token "identifier" (input:1.0: a) Entering state 4 Reading a token: Next token is token ":=" (input:1.2-3: ) Shifting token ":=" (input:1.2-3: ) Entering state 8 Reading a token: Next token is token "number" (input:1.5: 1) Shifting token "number" (input:1.5: 1) Entering state 5 Reducing stack by rule 10 (line 7406), "number" -> exp Stack now 0 2 4 8 Entering state 14 Reading a token: Next token is token "identifier" (input:2.0: b) Reducing stack by rule 4 (line 7397), "identifier" ":=" exp -> assignment Stack now 0 2 Entering state 6 Reducing stack by rule 2 (line 7394), assignments assignment -> assignments Stack now 0 Entering state 2 Next token is token "identifier" (input:2.0: b) Shifting token "identifier" (input:2.0: b) Entering state 4 Reading a token: Next token is token ":=" (input:2.2-3: ) Shifting token ":=" (input:2.2-3: ) Entering state 8 Reading a token: Next token is token "number" (input:2.5: 2) Shifting token "number" (input:2.5: 2) Entering state 5 Reducing stack by rule 10 (line 7406), "number" -> exp Stack now 0 2 4 8 Entering state 14 Reading a token: Next token is token "identifier" (input:3.0: c) Reducing stack by rule 4 (line 7397), "identifier" ":=" exp -> assignment Stack now 0 2 Entering state 6 Reducing stack by rule 2 (line 7394), assignments assignment -> assignments Stack now 0 Entering state 2 Next token is token "identifier" (input:3.0: c) Shifting token "identifier" (input:3.0: c) Entering state 4 Reading a token: Next token is token ":=" (input:3.2-3: ) Shifting token ":=" (input:3.2-3: ) Entering state 8 Reading a token: Next token is token "number" (input:3.5: 3) Shifting token "number" (input:3.5: 3) Entering state 5 Reducing stack by rule 10 (line 7406), "number" -> exp Stack now 0 2 4 8 Entering state 14 Reading a token: Next token is token "identifier" (input:4.0: d) Reducing stack by rule 4 (line 7397), "identifier" ":=" exp -> assignment Stack now 0 2 Entering state 6 Reducing stack by rule 2 (line 7394), assignments assignment -> assignments Stack now 0 Entering state 2 Next token is token "identifier" (input:4.0: d) Shifting token "identifier" (input:4.0: d) Entering state 4 Reading a token: Next token is token ":=" (input:4.2-3: ) Shifting token ":=" (input:4.2-3: ) Entering state 8 Reading a token: Next token is token "identifier" (input:4.5: a) Shifting token "identifier" (input:4.5: a) Entering state 13 Reducing stack by rule 9 (line 7405), "identifier" -> exp Stack now 0 2 4 8 Entering state 14 Reading a token: Next token is token '+' (input:4.7: ) Shifting token '+' (input:4.7: ) Entering state 9 Reading a token: Next token is token "identifier" (input:4.9: b) Shifting token "identifier" (input:4.9: b) Entering state 13 Reducing stack by rule 9 (line 7405), "identifier" -> exp Stack now 0 2 4 8 14 9 Entering state 15 Reading a token: Next token is token '*' (input:4.11: ) Shifting token '*' (input:4.11: ) Entering state 11 Reading a token: Next token is token "identifier" (input:4.13: c) Shifting token "identifier" (input:4.13: c) Entering state 13 Reducing stack by rule 9 (line 7405), "identifier" -> exp Stack now 0 2 4 8 14 9 15 11 Entering state 17 Reducing stack by rule 7 (line 7403), exp '*' exp -> exp Stack now 0 2 4 8 14 9 Entering state 15 Reading a token: Next token is token "identifier" (input:5.0: d) Reducing stack by rule 5 (line 7401), exp '+' exp -> exp Stack now 0 2 4 8 Entering state 14 Next token is token "identifier" (input:5.0: d) Reducing stack by rule 4 (line 7397), "identifier" ":=" exp -> assignment Stack now 0 2 Entering state 6 Reducing stack by rule 2 (line 7394), assignments assignment -> assignments Stack now 0 Entering state 2 Next token is token "identifier" (input:5.0: d) Shifting token "identifier" (input:5.0: d) Entering state 4 Reading a token: Now at end of input. Reducing stack by rule 9 (line 7405), "identifier" -> exp Stack now 0 2 Entering state 7 Now at end of input. Reducing stack by rule 1 (line 7392), assignments exp -> unit Stack now 0 Entering state 1 Now at end of input. Cleanup: popping nterm unit (input:1.0-5.0: ) 7 input:3.0: syntax error, unexpected end of file, expecting identifier or number -1082138248 + echo toto toto + cat + ./calc++ -s input --(end of buffer or a NUL) --accepting rule at line 36 ("toto") --accepting rule at line 23 (" ") --accepting rule at line 27 (":=") --accepting rule at line 23 (" ") --accepting rule at line 28 ("1") --accepting rule at line 24 (" ") --accepting rule at line 36 ("toto") --(end of buffer or a NUL) --accepting rule at line 24 (" ") --(end of buffer or a NUL) --EOF (start condition 0) 1 + rm input PASS: test ================== All 1 tests passed ================== make[4]: Leaving directory `/build/bison-2.1/examples/calc++' make[3]: Leaving directory `/build/bison-2.1/examples/calc++' make[2]: Leaving directory `/build/bison-2.1/examples/calc++' make[2]: Entering directory `/build/bison-2.1/examples' make[2]: Nothing to be done for `check-am'. make[2]: Leaving directory `/build/bison-2.1/examples' make[1]: Leaving directory `/build/bison-2.1/examples' Making check in tests make[1]: Entering directory `/build/bison-2.1/tests' make bison make[2]: Entering directory `/build/bison-2.1/tests' make[2]: `bison' is up to date. make[2]: Leaving directory `/build/bison-2.1/tests' make check-local make[2]: Entering directory `/build/bison-2.1/tests' /bin/sh ./testsuite ## ------------------------- ## ## GNU Bison 2.1 test suite. ## ## ------------------------- ## Input Processing. 1: Invalid dollar-n ok 2: Invalid @n ok 3: Type Clashes ok 4: Incompatible Aliases ok 5: Torturing the Scanner ok 6: Typed symbol aliases ok Output file names. 7: Output files: & -dv . ok 8: Output files: & -dv >&-. ok 9: Output files: & -dv -o foo.c . ok 10: Output files: & -dv -o foo.tab.c . ok 11: Output files: & -dv -y . ok 12: Output files: & -dv -b bar . ok 13: Output files: & -dv -g -o foo.c . ok 14: Output files: %defines %verbose & . ok 15: Output files: %defines %verbose %yacc & . ok 16: Output files: %defines %verbose %yacc & . ok 17: Output files: %file-prefix=bar %defines %verbose & .ok 18: Output files: %output=bar.c %defines %verbose %yacc & .ok 19: Output files: %file-prefix=baz %output=bar.c %defines %verbose %yacc & .ok 20: Output files: %defines %verbose & . ok 21: Output files: %defines %verbose & -o foo.c .ok 22: Output files: & --defines=foo.hpp -o foo.c++ .ok 23: Output files: & -o foo.c++ --graph=foo.gph .ok Grammar Sets (Firsts etc.). 24: Nullable ok 25: Broken Closure ok 26: Firsts ok Grammar Reduction. 27: Useless Terminals ok 28: Useless Nonterminals ok 29: Useless Rules ok 30: Reduced Automaton ok 31: Underivable Rules ok 32: Empty Language ok User Actions. 33: Prologue synch line ok 34: %union synch line ok 35: Postprologue synch line ok 36: Action synch line ok 37: Epilogue synch line ok Parser Headers. 38: %union and --defines ok 39: Invalid CPP guards: input/input ok 40: Invalid CPP guards: 9foo ok 41: export YYLTYPE ok User Actions. 42: Mid-rule actions ok 43: Exotic Dollars ok 44: Printers and Destructors : ok 45: Printers and Destructors with union: ok 46: Printers and Destructors : %defines %skeleton lalr1.ccok 47: Printers and Destructors with union: %defines %skeleton lalr1.ccok 48: Printers and Destructors : %glr-parser ok 49: Printers and Destructors with union: %glr-parserok Conflicts. 50: S/R in initial ok 51: %nonassoc and eof ok 52: Unresolved SR Conflicts ok 53: Resolved SR Conflicts ok 54: Defaulted Conflicted Reduction ok 55: %expect not enough ok 56: %expect right ok 57: %expect too much ok 58: %expect with reduce conflicts ok 59: %no-default-prec without %prec ok 60: %no-default-prec with %prec ok 61: %default-prec ok Simple LALR Calculator. 62: Calculator ok 63: Calculator %defines ok 64: Calculator %locations ok 65: Calculator %name-prefix=calc ok 66: Calculator %verbose ok 67: Calculator %yacc ok 68: Calculator %error-verbose ok 69: Calculator %pure-parser %locations ok 70: Calculator %error-verbose %locations ok 71: Calculator %error-verbose %locations %defines %name-prefix=calc %verbose %yaccok 72: Calculator %debug ok 73: Calculator %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yaccok 74: Calculator %pure-parser %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yaccok 75: Calculator %pure-parser %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count}ok Simple GLR Calculator. 76: Calculator %glr-parser ok 77: Calculator %glr-parser %defines ok 78: Calculator %glr-parser %locations ok 79: Calculator %glr-parser %name-prefix=calc ok 80: Calculator %glr-parser %verbose ok 81: Calculator %glr-parser %yacc ok 82: Calculator %glr-parser %error-verbose ok 83: Calculator %glr-parser %pure-parser %locationsok 84: Calculator %glr-parser %error-verbose %locationsok 85: Calculator %glr-parser %error-verbose %locations %defines %name-prefix=calc %verbose %yaccok 86: Calculator %glr-parser %debug ok 87: Calculator %glr-parser %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yaccok 88: Calculator %glr-parser %pure-parser %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yaccok 89: Calculator %glr-parser %pure-parser %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count}ok Simple LALR1 C++ Calculator. 90: Calculator %skeleton lalr1.cc %defines %locationsok 91: Calculator %skeleton lalr1.cc %defines ok 92: Calculator %skeleton lalr1.cc %error-verbose %locations %defines %name-prefix=calc %verbose %yaccok 93: Calculator %skeleton lalr1.cc %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yaccok 94: Calculator %skeleton lalr1.cc %pure-parser %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yaccok 95: Calculator %skeleton lalr1.cc %pure-parser %error-verbose %debug %locations %defines %name-prefix=calc %verbose %yacc %parse-param {semantic_value *result} %parse-param {int *count}ok Torture Tests. 96: Big triangle ok 97: Big horizontal ok 98: Many look-ahead tokens ok 99: Exploding the Stack Size with Alloca ok 100: Exploding the Stack Size with Malloc ok Existing Grammars. 101: GNU AWK Grammar ok 102: GNU Cim Grammar ok 103: GNU pic Grammar ok Regression tests. 104: Early token definitions ok 105: Braces parsing ok 106: Duplicate string ok 107: Rule Line Numbers ok 108: Mixing %token styles ok 109: Invalid inputs ok 110: Invalid inputs with {} ok 111: Token definitions ok 112: Characters Escapes ok 113: Web2c Report ok 114: Web2c Actions ok 115: Dancer ok 116: Dancer %glr-parser ok 117: Dancer %skeleton lalr1.cc ok C++ Features. 118: Doxygen Public Documentation skipped (c++.at:102) 119: Doxygen Private Documentation skipped (c++.at:103) C++ Type Syntax (GLR). 120: GLR: Resolve ambiguity, impure, no locations ok 121: GLR: Resolve ambiguity, impure, locations ok 122: GLR: Resolve ambiguity, pure, no locations ok 123: GLR: Resolve ambiguity, pure, locations ok 124: GLR: Merge conflicting parses, impure, no locationsok 125: GLR: Merge conflicting parses, impure, locationsok 126: GLR: Merge conflicting parses, pure, no locationsok 127: GLR: Merge conflicting parses, pure, locationsok 128: GLR: Verbose messages, resolve ambiguity, impure, no locationsok GLR Regression Tests 129: Badly Collapsed GLR States ok 130: Improper handling of embedded actions and dollar(-N) in GLR parsersok 131: Improper merging of GLR delayed action sets ok 132: Duplicate representation of merged trees ok 133: User destructor for unresolved GLR semantic valueok 134: User destructor after an error during a split parseok 135: Duplicated user destructor for lookahead skipped (glr-regression.at:636) ## ------------- ## ## Test results. ## ## ------------- ## 132 tests were successful. 3 tests were skipped. make[2]: Leaving directory `/build/bison-2.1/tests' make[1]: Leaving directory `/build/bison-2.1/tests' make[1]: Entering directory `/build/bison-2.1' make[1]: Nothing to be done for `check-am'. make[1]: Leaving directory `/build/bison-2.1'