bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU Bison 2.0] testsuite: 91 92 93 failed on Sun Solaris 10 SPARC


From: Nelson H. F. Beebe
Subject: [GNU Bison 2.0] testsuite: 91 92 93 failed on Sun Solaris 10 SPARC
Date: Wed, 5 Jan 2005 14:32:57 -0700 (MST)

Machinetype:            Sun Ultra 5 (270 MHz);          Solaris 10
Configure environment:  CC=/opt/studio9/SUNWspro/bin/c89 
CFLAGS=-I/usr/local/include
CXX=/opt/studio9/SUNWspro/bin/CC CXXFLAGS=-I/usr/local/include 
LDFLAGS="-R/usr/local/lib -L/usr/local/lib" 
Configure flags:        --disable-yacc

% find . -name testsuite.log
./testsuite.log
./testsuite.dir/093/testsuite.log
./testsuite.dir/092/testsuite.log
./testsuite.dir/091/testsuite.log

% cat testsuite.dir/*/*.log 
91. calc.at:623: testing ...
calc.at:623: bison -o calc.cc calc.y
calc.at:623: $BISON_CXX_WORKS
stderr:
stdout:
calc.at:623: $CXX $CXXFLAGS $CPPFLAGS calc.cc -o calc
stderr:
stdout:
calc.at:623: $PREPARSER ./calc input
stderr:
Starting parse
Entering state 0
Reading a token: Next token is token "number" (1.0: )
Shifting token "number" (1.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0
Entering state 8
Reading a token: Next token is token '+' (1.2: )
Shifting token '+' (1.2: )
Entering state 17
Reading a token: Next token is token "number" (1.4: )
Shifting token "number" (1.4: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 8 17
Entering state 26
Reading a token: Next token is token '*' (1.6: )
Shifting token '*' (1.6: )
Entering state 18
Reading a token: Next token is token "number" (1.8: )
Shifting token "number" (1.8: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 8 17 26 18
Entering state 27
Reading a token: Next token is token '=' (1.10: )
Reducing stack by rule 9 (line 80), exp '*' exp -> exp
Stack now 0 8 17
Entering state 26
Next token is token '=' (1.10: )
Reducing stack by rule 7 (line 78), exp '+' exp -> exp
Stack now 0
Entering state 8
Next token is token '=' (1.10: )
Shifting token '=' (1.10: )
Entering state 15
Reading a token: Next token is token "number" (1.12: )
Shifting token "number" (1.12: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 8 15
Entering state 24
Reading a token: Next token is token '\n' (1.13-2.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0
Entering state 8
Next token is token '\n' (1.13-2.0: )
Shifting token '\n' (1.13-2.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0
Entering state 7
Reducing stack by rule 1 (line 61), line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token "number" (2.0: )
Shifting token "number" (2.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '+' (2.2: )
Shifting token '+' (2.2: )
Entering state 17
Reading a token: Next token is token "number" (2.4: )
Shifting token "number" (2.4: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 17
Entering state 26
Reading a token: Next token is token '*' (2.6: )
Shifting token '*' (2.6: )
Entering state 18
Reading a token: Next token is token '-' (2.8: )
Shifting token '-' (2.8: )
Entering state 2
Reading a token: Next token is token "number" (2.9: )
Shifting token "number" (2.9: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 17 26 18 2
Entering state 10
Reading a token: Next token is token '=' (2.11: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 17 26 18
Entering state 27
Next token is token '=' (2.11: )
Reducing stack by rule 9 (line 80), exp '*' exp -> exp
Stack now 0 6 8 17
Entering state 26
Next token is token '=' (2.11: )
Reducing stack by rule 7 (line 78), exp '+' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (2.11: )
Shifting token '=' (2.11: )
Entering state 15
Reading a token: Next token is token '-' (2.13: )
Shifting token '-' (2.13: )
Entering state 2
Reading a token: Next token is token "number" (2.14: )
Shifting token "number" (2.14: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15 2
Entering state 10
Reading a token: Next token is token '\n' (2.15-3.0: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 15
Entering state 24
Next token is token '\n' (2.15-3.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (2.15-3.0: )
Shifting token '\n' (2.15-3.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '\n' (3.0-4.0: )
Shifting token '\n' (3.0-4.0: )
Entering state 3
Reducing stack by rule 3 (line 66), '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '-' (4.0: )
Shifting token '-' (4.0: )
Entering state 2
Reading a token: Next token is token "number" (4.1: )
Shifting token "number" (4.1: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 2
Entering state 10
Reading a token: Next token is token '^' (4.2: )
Shifting token '^' (4.2: )
Entering state 20
Reading a token: Next token is token "number" (4.3: )
Shifting token "number" (4.3: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 2 10 20
Entering state 29
Reading a token: Next token is token '=' (4.5: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6 2
Entering state 10
Next token is token '=' (4.5: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (4.5: )
Shifting token '=' (4.5: )
Entering state 15
Reading a token: Next token is token '-' (4.7: )
Shifting token '-' (4.7: )
Entering state 2
Reading a token: Next token is token "number" (4.8: )
Shifting token "number" (4.8: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15 2
Entering state 10
Reading a token: Next token is token '\n' (4.9-5.0: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 15
Entering state 24
Next token is token '\n' (4.9-5.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (4.9-5.0: )
Shifting token '\n' (4.9-5.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '(' (5.0: )
Shifting token '(' (5.0: )
Entering state 4
Reading a token: Next token is token '-' (5.1: )
Shifting token '-' (5.1: )
Entering state 2
Reading a token: Next token is token "number" (5.2: )
Shifting token "number" (5.2: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 4 2
Entering state 10
Reading a token: Next token is token ')' (5.3: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 4
Entering state 12
Next token is token ')' (5.3: )
Shifting token ')' (5.3: )
Entering state 23
Reducing stack by rule 13 (line 84), '(' exp ')' -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '^' (5.4: )
Shifting token '^' (5.4: )
Entering state 20
Reading a token: Next token is token "number" (5.5: )
Shifting token "number" (5.5: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 20
Entering state 29
Reading a token: Next token is token '=' (5.7: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (5.7: )
Shifting token '=' (5.7: )
Entering state 15
Reading a token: Next token is token "number" (5.9: )
Shifting token "number" (5.9: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15
Entering state 24
Reading a token: Next token is token '\n' (5.10-6.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (5.10-6.0: )
Shifting token '\n' (5.10-6.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '\n' (6.0-7.0: )
Shifting token '\n' (6.0-7.0: )
Entering state 3
Reducing stack by rule 3 (line 66), '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '-' (7.0: )
Shifting token '-' (7.0: )
Entering state 2
Reading a token: Next token is token '-' (7.1: )
Shifting token '-' (7.1: )
Entering state 2
Reading a token: Next token is token '-' (7.2: )
Shifting token '-' (7.2: )
Entering state 2
Reading a token: Next token is token "number" (7.3: )
Shifting token "number" (7.3: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 2 2 2
Entering state 10
Reading a token: Next token is token '=' (7.5: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 2 2
Entering state 10
Next token is token '=' (7.5: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 2
Entering state 10
Next token is token '=' (7.5: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (7.5: )
Shifting token '=' (7.5: )
Entering state 15
Reading a token: Next token is token '-' (7.7: )
Shifting token '-' (7.7: )
Entering state 2
Reading a token: Next token is token "number" (7.8: )
Shifting token "number" (7.8: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15 2
Entering state 10
Reading a token: Next token is token '\n' (7.9-8.0: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 15
Entering state 24
Next token is token '\n' (7.9-8.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (7.9-8.0: )
Shifting token '\n' (7.9-8.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '\n' (8.0-9.0: )
Shifting token '\n' (8.0-9.0: )
Entering state 3
Reducing stack by rule 3 (line 66), '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token "number" (9.0: )
Shifting token "number" (9.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '-' (9.2: )
Shifting token '-' (9.2: )
Entering state 16
Reading a token: Next token is token "number" (9.4: )
Shifting token "number" (9.4: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 16
Entering state 25
Reading a token: Next token is token '-' (9.6: )
Reducing stack by rule 8 (line 79), exp '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '-' (9.6: )
Shifting token '-' (9.6: )
Entering state 16
Reading a token: Next token is token "number" (9.8: )
Shifting token "number" (9.8: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 16
Entering state 25
Reading a token: Next token is token '=' (9.10: )
Reducing stack by rule 8 (line 79), exp '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (9.10: )
Shifting token '=' (9.10: )
Entering state 15
Reading a token: Next token is token '-' (9.12: )
Shifting token '-' (9.12: )
Entering state 2
Reading a token: Next token is token "number" (9.13: )
Shifting token "number" (9.13: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15 2
Entering state 10
Reading a token: Next token is token '\n' (9.14-10.0: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 15
Entering state 24
Next token is token '\n' (9.14-10.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (9.14-10.0: )
Shifting token '\n' (9.14-10.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token "number" (10.0: )
Shifting token "number" (10.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '-' (10.2: )
Shifting token '-' (10.2: )
Entering state 16
Reading a token: Next token is token '(' (10.4: )
Shifting token '(' (10.4: )
Entering state 4
Reading a token: Next token is token "number" (10.5: )
Shifting token "number" (10.5: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 16 4
Entering state 12
Reading a token: Next token is token '-' (10.7: )
Shifting token '-' (10.7: )
Entering state 16
Reading a token: Next token is token "number" (10.9: )
Shifting token "number" (10.9: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 16 4 12 16
Entering state 25
Reading a token: Next token is token ')' (10.10: )
Reducing stack by rule 8 (line 79), exp '-' exp -> exp
Stack now 0 6 8 16 4
Entering state 12
Next token is token ')' (10.10: )
Shifting token ')' (10.10: )
Entering state 23
Reducing stack by rule 13 (line 84), '(' exp ')' -> exp
Stack now 0 6 8 16
Entering state 25
Reading a token: Next token is token '=' (10.12: )
Reducing stack by rule 8 (line 79), exp '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (10.12: )
Shifting token '=' (10.12: )
Entering state 15
Reading a token: Next token is token "number" (10.14: )
Shifting token "number" (10.14: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15
Entering state 24
Reading a token: Next token is token '\n' (10.15-11.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (10.15-11.0: )
Shifting token '\n' (10.15-11.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '\n' (11.0-12.0: )
Shifting token '\n' (11.0-12.0: )
Entering state 3
Reducing stack by rule 3 (line 66), '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token "number" (12.0: )
Shifting token "number" (12.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '^' (12.1: )
Shifting token '^' (12.1: )
Entering state 20
Reading a token: Next token is token "number" (12.2: )
Shifting token "number" (12.2: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 20
Entering state 29
Reading a token: Next token is token '^' (12.3: )
Shifting token '^' (12.3: )
Entering state 20
Reading a token: Next token is token "number" (12.4: )
Shifting token "number" (12.4: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 20 29 20
Entering state 29
Reading a token: Next token is token '=' (12.6: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6 8 20
Entering state 29
Next token is token '=' (12.6: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (12.6: )
Shifting token '=' (12.6: )
Entering state 15
Reading a token: Next token is token "number" (12.8-10: )
Shifting token "number" (12.8-10: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15
Entering state 24
Reading a token: Next token is token '\n' (12.11-13.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (12.11-13.0: )
Shifting token '\n' (12.11-13.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '(' (13.0: )
Shifting token '(' (13.0: )
Entering state 4
Reading a token: Next token is token "number" (13.1: )
Shifting token "number" (13.1: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 4
Entering state 12
Reading a token: Next token is token '^' (13.2: )
Shifting token '^' (13.2: )
Entering state 20
Reading a token: Next token is token "number" (13.3: )
Shifting token "number" (13.3: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 4 12 20
Entering state 29
Reading a token: Next token is token ')' (13.4: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6 4
Entering state 12
Next token is token ')' (13.4: )
Shifting token ')' (13.4: )
Entering state 23
Reducing stack by rule 13 (line 84./testsuite: line 62247:  9112 Alarm Clock    
         $PREPARSER ./calc input
calc.at:623: exit code was 142, expected 0
91. calc.at:623: 91. Calculator %skeleton "lalr1.cc" %error-verbose %debug 
%locations %defines %name-prefix="calc" %verbose %yacc (calc.at:623): FAILED 
(calc.at:623)
92. calc.at:625: testing ...
calc.at:625: bison -o calc.cc calc.y
calc.at:625: $BISON_CXX_WORKS
stderr:
stdout:
calc.at:625: $CXX $CXXFLAGS $CPPFLAGS calc.cc -o calc
stderr:
stdout:
calc.at:625: $PREPARSER ./calc input
stderr:
Starting parse
Entering state 0
Reading a token: Next token is token "number" (1.0: )
Shifting token "number" (1.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0
Entering state 8
Reading a token: Next token is token '+' (1.2: )
Shifting token '+' (1.2: )
Entering state 17
Reading a token: Next token is token "number" (1.4: )
Shifting token "number" (1.4: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 8 17
Entering state 26
Reading a token: Next token is token '*' (1.6: )
Shifting token '*' (1.6: )
Entering state 18
Reading a token: Next token is token "number" (1.8: )
Shifting token "number" (1.8: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 8 17 26 18
Entering state 27
Reading a token: Next token is token '=' (1.10: )
Reducing stack by rule 9 (line 80), exp '*' exp -> exp
Stack now 0 8 17
Entering state 26
Next token is token '=' (1.10: )
Reducing stack by rule 7 (line 78), exp '+' exp -> exp
Stack now 0
Entering state 8
Next token is token '=' (1.10: )
Shifting token '=' (1.10: )
Entering state 15
Reading a token: Next token is token "number" (1.12: )
Shifting token "number" (1.12: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 8 15
Entering state 24
Reading a token: Next token is token '\n' (1.13-2.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0
Entering state 8
Next token is token '\n' (1.13-2.0: )
Shifting token '\n' (1.13-2.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0
Entering state 7
Reducing stack by rule 1 (line 61), line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token "number" (2.0: )
Shifting token "number" (2.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '+' (2.2: )
Shifting token '+' (2.2: )
Entering state 17
Reading a token: Next token is token "number" (2.4: )
Shifting token "number" (2.4: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 17
Entering state 26
Reading a token: Next token is token '*' (2.6: )
Shifting token '*' (2.6: )
Entering state 18
Reading a token: Next token is token '-' (2.8: )
Shifting token '-' (2.8: )
Entering state 2
Reading a token: Next token is token "number" (2.9: )
Shifting token "number" (2.9: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 17 26 18 2
Entering state 10
Reading a token: Next token is token '=' (2.11: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 17 26 18
Entering state 27
Next token is token '=' (2.11: )
Reducing stack by rule 9 (line 80), exp '*' exp -> exp
Stack now 0 6 8 17
Entering state 26
Next token is token '=' (2.11: )
Reducing stack by rule 7 (line 78), exp '+' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (2.11: )
Shifting token '=' (2.11: )
Entering state 15
Reading a token: Next token is token '-' (2.13: )
Shifting token '-' (2.13: )
Entering state 2
Reading a token: Next token is token "number" (2.14: )
Shifting token "number" (2.14: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15 2
Entering state 10
Reading a token: Next token is token '\n' (2.15-3.0: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 15
Entering state 24
Next token is token '\n' (2.15-3.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (2.15-3.0: )
Shifting token '\n' (2.15-3.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '\n' (3.0-4.0: )
Shifting token '\n' (3.0-4.0: )
Entering state 3
Reducing stack by rule 3 (line 66), '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '-' (4.0: )
Shifting token '-' (4.0: )
Entering state 2
Reading a token: Next token is token "number" (4.1: )
Shifting token "number" (4.1: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 2
Entering state 10
Reading a token: Next token is token '^' (4.2: )
Shifting token '^' (4.2: )
Entering state 20
Reading a token: Next token is token "number" (4.3: )
Shifting token "number" (4.3: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 2 10 20
Entering state 29
Reading a token: Next token is token '=' (4.5: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6 2
Entering state 10
Next token is token '=' (4.5: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (4.5: )
Shifting token '=' (4.5: )
Entering state 15
Reading a token: Next token is token '-' (4.7: )
Shifting token '-' (4.7: )
Entering state 2
Reading a token: Next token is token "number" (4.8: )
Shifting token "number" (4.8: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15 2
Entering state 10
Reading a token: Next token is token '\n' (4.9-5.0: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 15
Entering state 24
Next token is token '\n' (4.9-5.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (4.9-5.0: )
Shifting token '\n' (4.9-5.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '(' (5.0: )
Shifting token '(' (5.0: )
Entering state 4
Reading a token: Next token is token '-' (5.1: )
Shifting token '-' (5.1: )
Entering state 2
Reading a token: Next token is token "number" (5.2: )
Shifting token "number" (5.2: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 4 2
Entering state 10
Reading a token: Next token is token ')' (5.3: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 4
Entering state 12
Next token is token ')' (5.3: )
Shifting token ')' (5.3: )
Entering state 23
Reducing stack by rule 13 (line 84), '(' exp ')' -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '^' (5.4: )
Shifting token '^' (5.4: )
Entering state 20
Reading a token: Next token is token "number" (5.5: )
Shifting token "number" (5.5: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 20
Entering state 29
Reading a token: Next token is token '=' (5.7: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (5.7: )
Shifting token '=' (5.7: )
Entering state 15
Reading a token: Next token is token "number" (5.9: )
Shifting token "number" (5.9: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15
Entering state 24
Reading a token: Next token is token '\n' (5.10-6.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (5.10-6.0: )
Shifting token '\n' (5.10-6.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '\n' (6.0-7.0: )
Shifting token '\n' (6.0-7.0: )
Entering state 3
Reducing stack by rule 3 (line 66), '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '-' (7.0: )
Shifting token '-' (7.0: )
Entering state 2
Reading a token: Next token is token '-' (7.1: )
Shifting token '-' (7.1: )
Entering state 2
Reading a token: Next token is token '-' (7.2: )
Shifting token '-' (7.2: )
Entering state 2
Reading a token: Next token is token "number" (7.3: )
Shifting token "number" (7.3: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 2 2 2
Entering state 10
Reading a token: Next token is token '=' (7.5: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 2 2
Entering state 10
Next token is token '=' (7.5: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 2
Entering state 10
Next token is token '=' (7.5: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (7.5: )
Shifting token '=' (7.5: )
Entering state 15
Reading a token: Next token is token '-' (7.7: )
Shifting token '-' (7.7: )
Entering state 2
Reading a token: Next token is token "number" (7.8: )
Shifting token "number" (7.8: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15 2
Entering state 10
Reading a token: Next token is token '\n' (7.9-8.0: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 15
Entering state 24
Next token is token '\n' (7.9-8.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (7.9-8.0: )
Shifting token '\n' (7.9-8.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '\n' (8.0-9.0: )
Shifting token '\n' (8.0-9.0: )
Entering state 3
Reducing stack by rule 3 (line 66), '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token "number" (9.0: )
Shifting token "number" (9.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '-' (9.2: )
Shifting token '-' (9.2: )
Entering state 16
Reading a token: Next token is token "number" (9.4: )
Shifting token "number" (9.4: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 16
Entering state 25
Reading a token: Next token is token '-' (9.6: )
Reducing stack by rule 8 (line 79), exp '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '-' (9.6: )
Shifting token '-' (9.6: )
Entering state 16
Reading a token: Next token is token "number" (9.8: )
Shifting token "number" (9.8: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 16
Entering state 25
Reading a token: Next token is token '=' (9.10: )
Reducing stack by rule 8 (line 79), exp '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (9.10: )
Shifting token '=' (9.10: )
Entering state 15
Reading a token: Next token is token '-' (9.12: )
Shifting token '-' (9.12: )
Entering state 2
Reading a token: Next token is token "number" (9.13: )
Shifting token "number" (9.13: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15 2
Entering state 10
Reading a token: Next token is token '\n' (9.14-10.0: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 15
Entering state 24
Next token is token '\n' (9.14-10.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (9.14-10.0: )
Shifting token '\n' (9.14-10.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token "number" (10.0: )
Shifting token "number" (10.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '-' (10.2: )
Shifting token '-' (10.2: )
Entering state 16
Reading a token: Next token is token '(' (10.4: )
Shifting token '(' (10.4: )
Entering state 4
Reading a token: Next token is token "number" (10.5: )
Shifting token "number" (10.5: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 16 4
Entering state 12
Reading a token: Next token is token '-' (10.7: )
Shifting token '-' (10.7: )
Entering state 16
Reading a token: Next token is token "number" (10.9: )
Shifting token "number" (10.9: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 16 4 12 16
Entering state 25
Reading a token: Next token is token ')' (10.10: )
Reducing stack by rule 8 (line 79), exp '-' exp -> exp
Stack now 0 6 8 16 4
Entering state 12
Next token is token ')' (10.10: )
Shifting token ')' (10.10: )
Entering state 23
Reducing stack by rule 13 (line 84), '(' exp ')' -> exp
Stack now 0 6 8 16
Entering state 25
Reading a token: Next token is token '=' (10.12: )
Reducing stack by rule 8 (line 79), exp '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (10.12: )
Shifting token '=' (10.12: )
Entering state 15
Reading a token: Next token is token "number" (10.14: )
Shifting token "number" (10.14: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15
Entering state 24
Reading a token: Next token is token '\n' (10.15-11.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (10.15-11.0: )
Shifting token '\n' (10.15-11.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '\n' (11.0-12.0: )
Shifting token '\n' (11.0-12.0: )
Entering state 3
Reducing stack by rule 3 (line 66), '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token "number" (12.0: )
Shifting token "number" (12.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '^' (12.1: )
Shifting token '^' (12.1: )
Entering state 20
Reading a token: Next token is token "number" (12.2: )
Shifting token "number" (12.2: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 20
Entering state 29
Reading a token: Next token is token '^' (12.3: )
Shifting token '^' (12.3: )
Entering state 20
Reading a token: Next token is token "number" (12.4: )
Shifting token "number" (12.4: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 20 29 20
Entering state 29
Reading a token: Next token is token '=' (12.6: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6 8 20
Entering state 29
Next token is token '=' (12.6: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (12.6: )
Shifting token '=' (12.6: )
Entering state 15
Reading a token: Next token is token "number" (12.8-10: )
Shifting token "number" (12.8-10: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15
Entering state 24
Reading a token: Next token is token '\n' (12.11-13.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (12.11-13.0: )
Shifting token '\n' (12.11-13.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '(' (13.0: )
Shifting token '(' (13.0: )
Entering state 4
Reading a token: Next token is token "number" (13.1: )
Shifting token "number" (13.1: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 4
Entering state 12
Reading a token: Next token is token '^' (13.2: )
Shifting token '^' (13.2: )
Entering state 20
Reading a token: Next token is token "number" (13.3: )
Shifting token "number" (13.3: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 4 12 20
Entering state 29
Reading a token: Next token is token ')' (13.4: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6 4
Entering state 12
Next token is token ')' (13.4: )
Shifting token ')' (13.4: )
Entering state 23
Reducing stack by rule 13 (line 84), '(' exp ')' -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '^' (13.5: )
Shifting token '^' (13.5: )
Entering state 20
Reading a token: Next token is token "number" (13.6: )
Shifting token "number" (13.6: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 20
Entering state 29
Reading a token: Next token is token '=' (13.8: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (13.8: )
Shifting token '=' (13.8: )
Entering state 15
Reading a token: Next token is token "number" (13.10-11: )
Shifting token "number" (13.10-11: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15
Entering state 24
Reading a token: Next token is token '\n' (13.12-14.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (13.12-14.0: )
Shifting token '\n' (13.12-14.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14./testsuite: line 62247:  9960 Alarm Clock             
$PREPARSER ./calc input
calc.at:625: exit code was 142, expected 0
92. calc.at:625: 92. Calculator %skeleton "lalr1.cc" %pure-parser 
%error-verbose %debug %locations %defines %name-prefix="calc" %verbose %yacc 
(calc.at:625): FAILED (calc.at:625)
93. calc.at:627: testing ...
calc.at:627: bison -o calc.cc calc.y
calc.at:627: $BISON_CXX_WORKS
stderr:
stdout:
calc.at:627: $CXX $CXXFLAGS $CPPFLAGS calc.cc -o calc
stderr:
"calc.cc", line 527: Warning: count hides yy::parser::count.
1 Warning(s) detected.
stdout:
calc.at:627: $PREPARSER ./calc input
stderr:
Starting parse
Entering state 0
Reading a token: Next token is token "number" (1.0: )
Shifting token "number" (1.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0
Entering state 8
Reading a token: Next token is token '+' (1.2: )
Shifting token '+' (1.2: )
Entering state 17
Reading a token: Next token is token "number" (1.4: )
Shifting token "number" (1.4: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 8 17
Entering state 26
Reading a token: Next token is token '*' (1.6: )
Shifting token '*' (1.6: )
Entering state 18
Reading a token: Next token is token "number" (1.8: )
Shifting token "number" (1.8: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 8 17 26 18
Entering state 27
Reading a token: Next token is token '=' (1.10: )
Reducing stack by rule 9 (line 80), exp '*' exp -> exp
Stack now 0 8 17
Entering state 26
Next token is token '=' (1.10: )
Reducing stack by rule 7 (line 78), exp '+' exp -> exp
Stack now 0
Entering state 8
Next token is token '=' (1.10: )
Shifting token '=' (1.10: )
Entering state 15
Reading a token: Next token is token "number" (1.12: )
Shifting token "number" (1.12: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 8 15
Entering state 24
Reading a token: Next token is token '\n' (1.13-2.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0
Entering state 8
Next token is token '\n' (1.13-2.0: )
Shifting token '\n' (1.13-2.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0
Entering state 7
Reducing stack by rule 1 (line 61), line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token "number" (2.0: )
Shifting token "number" (2.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '+' (2.2: )
Shifting token '+' (2.2: )
Entering state 17
Reading a token: Next token is token "number" (2.4: )
Shifting token "number" (2.4: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 17
Entering state 26
Reading a token: Next token is token '*' (2.6: )
Shifting token '*' (2.6: )
Entering state 18
Reading a token: Next token is token '-' (2.8: )
Shifting token '-' (2.8: )
Entering state 2
Reading a token: Next token is token "number" (2.9: )
Shifting token "number" (2.9: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 17 26 18 2
Entering state 10
Reading a token: Next token is token '=' (2.11: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 17 26 18
Entering state 27
Next token is token '=' (2.11: )
Reducing stack by rule 9 (line 80), exp '*' exp -> exp
Stack now 0 6 8 17
Entering state 26
Next token is token '=' (2.11: )
Reducing stack by rule 7 (line 78), exp '+' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (2.11: )
Shifting token '=' (2.11: )
Entering state 15
Reading a token: Next token is token '-' (2.13: )
Shifting token '-' (2.13: )
Entering state 2
Reading a token: Next token is token "number" (2.14: )
Shifting token "number" (2.14: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15 2
Entering state 10
Reading a token: Next token is token '\n' (2.15-3.0: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 15
Entering state 24
Next token is token '\n' (2.15-3.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (2.15-3.0: )
Shifting token '\n' (2.15-3.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '\n' (3.0-4.0: )
Shifting token '\n' (3.0-4.0: )
Entering state 3
Reducing stack by rule 3 (line 66), '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '-' (4.0: )
Shifting token '-' (4.0: )
Entering state 2
Reading a token: Next token is token "number" (4.1: )
Shifting token "number" (4.1: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 2
Entering state 10
Reading a token: Next token is token '^' (4.2: )
Shifting token '^' (4.2: )
Entering state 20
Reading a token: Next token is token "number" (4.3: )
Shifting token "number" (4.3: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 2 10 20
Entering state 29
Reading a token: Next token is token '=' (4.5: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6 2
Entering state 10
Next token is token '=' (4.5: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (4.5: )
Shifting token '=' (4.5: )
Entering state 15
Reading a token: Next token is token '-' (4.7: )
Shifting token '-' (4.7: )
Entering state 2
Reading a token: Next token is token "number" (4.8: )
Shifting token "number" (4.8: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15 2
Entering state 10
Reading a token: Next token is token '\n' (4.9-5.0: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 15
Entering state 24
Next token is token '\n' (4.9-5.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (4.9-5.0: )
Shifting token '\n' (4.9-5.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '(' (5.0: )
Shifting token '(' (5.0: )
Entering state 4
Reading a token: Next token is token '-' (5.1: )
Shifting token '-' (5.1: )
Entering state 2
Reading a token: Next token is token "number" (5.2: )
Shifting token "number" (5.2: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 4 2
Entering state 10
Reading a token: Next token is token ')' (5.3: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 4
Entering state 12
Next token is token ')' (5.3: )
Shifting token ')' (5.3: )
Entering state 23
Reducing stack by rule 13 (line 84), '(' exp ')' -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '^' (5.4: )
Shifting token '^' (5.4: )
Entering state 20
Reading a token: Next token is token "number" (5.5: )
Shifting token "number" (5.5: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 20
Entering state 29
Reading a token: Next token is token '=' (5.7: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (5.7: )
Shifting token '=' (5.7: )
Entering state 15
Reading a token: Next token is token "number" (5.9: )
Shifting token "number" (5.9: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15
Entering state 24
Reading a token: Next token is token '\n' (5.10-6.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (5.10-6.0: )
Shifting token '\n' (5.10-6.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '\n' (6.0-7.0: )
Shifting token '\n' (6.0-7.0: )
Entering state 3
Reducing stack by rule 3 (line 66), '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '-' (7.0: )
Shifting token '-' (7.0: )
Entering state 2
Reading a token: Next token is token '-' (7.1: )
Shifting token '-' (7.1: )
Entering state 2
Reading a token: Next token is token '-' (7.2: )
Shifting token '-' (7.2: )
Entering state 2
Reading a token: Next token is token "number" (7.3: )
Shifting token "number" (7.3: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 2 2 2
Entering state 10
Reading a token: Next token is token '=' (7.5: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 2 2
Entering state 10
Next token is token '=' (7.5: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 2
Entering state 10
Next token is token '=' (7.5: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (7.5: )
Shifting token '=' (7.5: )
Entering state 15
Reading a token: Next token is token '-' (7.7: )
Shifting token '-' (7.7: )
Entering state 2
Reading a token: Next token is token "number" (7.8: )
Shifting token "number" (7.8: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15 2
Entering state 10
Reading a token: Next token is token '\n' (7.9-8.0: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 15
Entering state 24
Next token is token '\n' (7.9-8.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (7.9-8.0: )
Shifting token '\n' (7.9-8.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '\n' (8.0-9.0: )
Shifting token '\n' (8.0-9.0: )
Entering state 3
Reducing stack by rule 3 (line 66), '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token "number" (9.0: )
Shifting token "number" (9.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '-' (9.2: )
Shifting token '-' (9.2: )
Entering state 16
Reading a token: Next token is token "number" (9.4: )
Shifting token "number" (9.4: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 16
Entering state 25
Reading a token: Next token is token '-' (9.6: )
Reducing stack by rule 8 (line 79), exp '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '-' (9.6: )
Shifting token '-' (9.6: )
Entering state 16
Reading a token: Next token is token "number" (9.8: )
Shifting token "number" (9.8: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 16
Entering state 25
Reading a token: Next token is token '=' (9.10: )
Reducing stack by rule 8 (line 79), exp '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (9.10: )
Shifting token '=' (9.10: )
Entering state 15
Reading a token: Next token is token '-' (9.12: )
Shifting token '-' (9.12: )
Entering state 2
Reading a token: Next token is token "number" (9.13: )
Shifting token "number" (9.13: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15 2
Entering state 10
Reading a token: Next token is token '\n' (9.14-10.0: )
Reducing stack by rule 11 (line 82), '-' exp -> exp
Stack now 0 6 8 15
Entering state 24
Next token is token '\n' (9.14-10.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (9.14-10.0: )
Shifting token '\n' (9.14-10.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token "number" (10.0: )
Shifting token "number" (10.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '-' (10.2: )
Shifting token '-' (10.2: )
Entering state 16
Reading a token: Next token is token '(' (10.4: )
Shifting token '(' (10.4: )
Entering state 4
Reading a token: Next token is token "number" (10.5: )
Shifting token "number" (10.5: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 16 4
Entering state 12
Reading a token: Next token is token '-' (10.7: )
Shifting token '-' (10.7: )
Entering state 16
Reading a token: Next token is token "number" (10.9: )
Shifting token "number" (10.9: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 16 4 12 16
Entering state 25
Reading a token: Next token is token ')' (10.10: )
Reducing stack by rule 8 (line 79), exp '-' exp -> exp
Stack now 0 6 8 16 4
Entering state 12
Next token is token ')' (10.10: )
Shifting token ')' (10.10: )
Entering state 23
Reducing stack by rule 13 (line 84), '(' exp ')' -> exp
Stack now 0 6 8 16
Entering state 25
Reading a token: Next token is token '=' (10.12: )
Reducing stack by rule 8 (line 79), exp '-' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (10.12: )
Shifting token '=' (10.12: )
Entering state 15
Reading a token: Next token is token "number" (10.14: )
Shifting token "number" (10.14: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15
Entering state 24
Reading a token: Next token is token '\n' (10.15-11.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (10.15-11.0: )
Shifting token '\n' (10.15-11.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '\n' (11.0-12.0: )
Shifting token '\n' (11.0-12.0: )
Entering state 3
Reducing stack by rule 3 (line 66), '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token "number" (12.0: )
Shifting token "number" (12.0: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '^' (12.1: )
Shifting token '^' (12.1: )
Entering state 20
Reading a token: Next token is token "number" (12.2: )
Shifting token "number" (12.2: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 20
Entering state 29
Reading a token: Next token is token '^' (12.3: )
Shifting token '^' (12.3: )
Entering state 20
Reading a token: Next token is token "number" (12.4: )
Shifting token "number" (12.4: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 20 29 20
Entering state 29
Reading a token: Next token is token '=' (12.6: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6 8 20
Entering state 29
Next token is token '=' (12.6: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '=' (12.6: )
Shifting token '=' (12.6: )
Entering state 15
Reading a token: Next token is token "number" (12.8-10: )
Shifting token "number" (12.8-10: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 8 15
Entering state 24
Reading a token: Next token is token '\n' (12.11-13.0: )
Reducing stack by rule 6 (line 72), exp '=' exp -> exp
Stack now 0 6
Entering state 8
Next token is token '\n' (12.11-13.0: )
Shifting token '\n' (12.11-13.0: )
Entering state 21
Reducing stack by rule 4 (line 67), exp '\n' -> line
Stack now 0 6
Entering state 14
Reducing stack by rule 2 (line 62), input line -> input
Stack now 0
Entering state 6
Reading a token: Next token is token '(' (13.0: )
Shifting token '(' (13.0: )
Entering state 4
Reading a token: Next token is token "number" (13.1: )
Shifting token "number" (13.1: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 4
Entering state 12
Reading a token: Next token is token '^' (13.2: )
Shifting token '^' (13.2: )
Entering state 20
Reading a token: Next token is token "number" (13.3: )
Shifting token "number" (13.3: )
Entering state 1
Reducing stack by rule 5 (line 71), "number" -> exp
Stack now 0 6 4 12 20
Entering state 29
Reading a token: Next token is token ')' (13.4: )
Reducing stack by rule 12 (line 83), exp '^' exp -> exp
Stack now 0 6 4
Entering state 12
Next token is token ')' (13.4: )
Shifting token ')' (13.4: )
Entering state 23
Reducing stack by rule 13 (line 84), '(' exp ')' -> exp
Stack now 0 6
Entering state 8
Reading a token: Next token is token '^' (13.5: )
Shifting token '^' (13.5: )
Entering state 20
Reading a token: Next token is token "number" (13.6: )
Shifting token "number" (13.6: )
Entering state 1./testsuite: line 62247: 10618 Alarm Clock             
$PREPARSER ./calc input
calc.at:627: exit code was 142, expected 0
93. calc.at:627: 93. 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} (calc.at:627): 
FAILED (calc.at:627)

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]