003 File Manager
Current Path:
/usr/src/contrib/byacc/test/btyacc
usr
/
src
/
contrib
/
byacc
/
test
/
btyacc
/
📁
..
📄
big_b.error
(965 B)
📄
big_b.output
(0 B)
📄
big_l.error
(965 B)
📄
big_l.output
(0 B)
📄
btyacc_calc1.error
(61 B)
📄
btyacc_calc1.output
(16.98 KB)
📄
btyacc_calc1.tab.c
(52.37 KB)
📄
btyacc_calc1.tab.h
(399 B)
📄
btyacc_demo.error
(33 B)
📄
btyacc_demo.output
(21.22 KB)
📄
btyacc_demo.tab.c
(75.02 KB)
📄
btyacc_demo.tab.h
(1.01 KB)
📄
btyacc_destroy1.error
(0 B)
📄
btyacc_destroy1.output
(3.34 KB)
📄
btyacc_destroy1.tab.c
(46.36 KB)
📄
btyacc_destroy1.tab.h
(483 B)
📄
btyacc_destroy2.error
(0 B)
📄
btyacc_destroy2.output
(3.34 KB)
📄
btyacc_destroy2.tab.c
(46.36 KB)
📄
btyacc_destroy2.tab.h
(483 B)
📄
btyacc_destroy3.error
(0 B)
📄
btyacc_destroy3.output
(3.34 KB)
📄
btyacc_destroy3.tab.c
(46.36 KB)
📄
btyacc_destroy3.tab.h
(483 B)
📄
calc.error
(0 B)
📄
calc.output
(7.19 KB)
📄
calc.tab.c
(46.04 KB)
📄
calc.tab.h
(141 B)
📄
calc1.error
(89 B)
📄
calc1.output
(15.39 KB)
📄
calc1.tab.c
(51.03 KB)
📄
calc1.tab.h
(426 B)
📄
calc2.error
(0 B)
📄
calc2.output
(7.19 KB)
📄
calc2.tab.c
(46.54 KB)
📄
calc2.tab.h
(144 B)
📄
calc3.error
(0 B)
📄
calc3.output
(7.19 KB)
📄
calc3.tab.c
(47.11 KB)
📄
calc3.tab.h
(144 B)
📄
calc_code_all.error
(0 B)
📄
calc_code_all.output
(7.19 KB)
📄
calc_code_all.tab.c
(47.08 KB)
📄
calc_code_all.tab.h
(446 B)
📄
calc_code_default.error
(0 B)
📄
calc_code_default.output
(7.19 KB)
📄
calc_code_default.tab.c
(46.81 KB)
📄
calc_code_default.tab.h
(180 B)
📄
calc_code_imports.error
(0 B)
📄
calc_code_imports.output
(7.19 KB)
📄
calc_code_imports.tab.c
(46.62 KB)
📄
calc_code_imports.tab.h
(180 B)
📄
calc_code_provides.error
(0 B)
📄
calc_code_provides.output
(7.19 KB)
📄
calc_code_provides.tab.c
(46.88 KB)
📄
calc_code_provides.tab.h
(356 B)
📄
calc_code_requires.error
(0 B)
📄
calc_code_requires.output
(7.19 KB)
📄
calc_code_requires.tab.c
(46.88 KB)
📄
calc_code_requires.tab.h
(356 B)
📄
calc_code_top.error
(0 B)
📄
calc_code_top.output
(7.19 KB)
📄
calc_code_top.tab.c
(46.62 KB)
📄
calc_code_top.tab.h
(168 B)
📄
code_calc.code.c
(39.6 KB)
📄
code_calc.error
(0 B)
📄
code_calc.output
(7.19 KB)
📄
code_calc.tab.c
(7.21 KB)
📄
code_calc.tab.h
(179 B)
📄
code_error.code.c
(37.72 KB)
📄
code_error.error
(0 B)
📄
code_error.output
(389 B)
📄
code_error.tab.c
(1.69 KB)
📄
code_error.tab.h
(88 B)
📄
defines1.calc.c
(44.54 KB)
📄
defines1.calc.h
(132 B)
📄
defines1.error
(0 B)
📄
defines1.output
(0 B)
📄
defines2.calc.c
(44.54 KB)
📄
defines2.calc.h
(132 B)
📄
defines2.error
(0 B)
📄
defines2.output
(0 B)
📄
defines3.calc.c
(44.55 KB)
📄
defines3.calc.h
(132 B)
📄
defines3.error
(0 B)
📄
defines3.output
(0 B)
📄
empty.error
(0 B)
📄
empty.output
(368 B)
📄
empty.tab.c
(38.73 KB)
📄
empty.tab.h
(88 B)
📄
err_inherit1.error
(94 B)
📄
err_inherit1.output
(0 B)
📄
err_inherit1.tab.c
(442 B)
📄
err_inherit1.tab.h
(0 B)
📄
err_inherit2.error
(367 B)
📄
err_inherit2.output
(0 B)
📄
err_inherit2.tab.c
(442 B)
📄
err_inherit2.tab.h
(0 B)
📄
err_inherit3.error
(1.14 KB)
📄
err_inherit3.output
(2.79 KB)
📄
err_inherit3.tab.c
(42.93 KB)
📄
err_inherit3.tab.h
(499 B)
📄
err_inherit4.error
(521 B)
📄
err_inherit4.output
(2.07 KB)
📄
err_inherit4.tab.c
(42.77 KB)
📄
err_inherit4.tab.h
(851 B)
📄
err_inherit5.error
(68 B)
📄
err_inherit5.output
(0 B)
📄
err_inherit5.tab.c
(442 B)
📄
err_inherit5.tab.h
(0 B)
📄
err_syntax1.error
(61 B)
📄
err_syntax1.output
(0 B)
📄
err_syntax1.tab.c
(442 B)
📄
err_syntax1.tab.h
(0 B)
📄
err_syntax10.error
(228 B)
📄
err_syntax10.output
(446 B)
📄
err_syntax10.tab.c
(38.79 KB)
📄
err_syntax10.tab.h
(109 B)
📄
err_syntax11.error
(82 B)
📄
err_syntax11.output
(408 B)
📄
err_syntax11.tab.c
(38.94 KB)
📄
err_syntax11.tab.h
(109 B)
📄
err_syntax12.error
(78 B)
📄
err_syntax12.output
(409 B)
📄
err_syntax12.tab.c
(39.36 KB)
📄
err_syntax12.tab.h
(126 B)
📄
err_syntax13.error
(73 B)
📄
err_syntax13.output
(0 B)
📄
err_syntax13.tab.c
(442 B)
📄
err_syntax13.tab.h
(0 B)
📄
err_syntax14.error
(123 B)
📄
err_syntax14.output
(0 B)
📄
err_syntax14.tab.c
(442 B)
📄
err_syntax14.tab.h
(0 B)
📄
err_syntax15.error
(70 B)
📄
err_syntax15.output
(0 B)
📄
err_syntax15.tab.c
(442 B)
📄
err_syntax15.tab.h
(0 B)
📄
err_syntax16.error
(84 B)
📄
err_syntax16.output
(0 B)
📄
err_syntax16.tab.c
(442 B)
📄
err_syntax16.tab.h
(0 B)
📄
err_syntax17.error
(76 B)
📄
err_syntax17.output
(0 B)
📄
err_syntax17.tab.c
(442 B)
📄
err_syntax17.tab.h
(0 B)
📄
err_syntax18.error
(89 B)
📄
err_syntax18.output
(601 B)
📄
err_syntax18.tab.c
(39.17 KB)
📄
err_syntax18.tab.h
(109 B)
📄
err_syntax19.error
(108 B)
📄
err_syntax19.output
(0 B)
📄
err_syntax19.tab.c
(442 B)
📄
err_syntax19.tab.h
(0 B)
📄
err_syntax2.error
(63 B)
📄
err_syntax2.output
(0 B)
📄
err_syntax2.tab.c
(442 B)
📄
err_syntax2.tab.h
(0 B)
📄
err_syntax20.error
(40 B)
📄
err_syntax20.output
(613 B)
📄
err_syntax20.tab.c
(39.02 KB)
📄
err_syntax20.tab.h
(127 B)
📄
err_syntax21.error
(55 B)
📄
err_syntax21.output
(0 B)
📄
err_syntax21.tab.c
(442 B)
📄
err_syntax21.tab.h
(0 B)
📄
err_syntax22.error
(63 B)
📄
err_syntax22.output
(0 B)
📄
err_syntax22.tab.c
(442 B)
📄
err_syntax22.tab.h
(0 B)
📄
err_syntax23.error
(55 B)
📄
err_syntax23.output
(0 B)
📄
err_syntax23.tab.c
(442 B)
📄
err_syntax23.tab.h
(0 B)
📄
err_syntax24.error
(157 B)
📄
err_syntax24.output
(0 B)
📄
err_syntax24.tab.c
(442 B)
📄
err_syntax24.tab.h
(0 B)
📄
err_syntax25.error
(81 B)
📄
err_syntax25.output
(0 B)
📄
err_syntax25.tab.c
(442 B)
📄
err_syntax25.tab.h
(0 B)
📄
err_syntax26.error
(63 B)
📄
err_syntax26.output
(0 B)
📄
err_syntax26.tab.c
(442 B)
📄
err_syntax26.tab.h
(0 B)
📄
err_syntax27.error
(52 B)
📄
err_syntax27.output
(0 B)
📄
err_syntax27.tab.c
(442 B)
📄
err_syntax27.tab.h
(0 B)
📄
err_syntax3.error
(108 B)
📄
err_syntax3.output
(0 B)
📄
err_syntax3.tab.c
(442 B)
📄
err_syntax3.tab.h
(0 B)
📄
err_syntax4.error
(57 B)
📄
err_syntax4.output
(0 B)
📄
err_syntax4.tab.c
(442 B)
📄
err_syntax4.tab.h
(0 B)
📄
err_syntax5.error
(82 B)
📄
err_syntax5.output
(0 B)
📄
err_syntax5.tab.c
(442 B)
📄
err_syntax5.tab.h
(0 B)
📄
err_syntax6.error
(85 B)
📄
err_syntax6.output
(0 B)
📄
err_syntax6.tab.c
(442 B)
📄
err_syntax6.tab.h
(0 B)
📄
err_syntax7.error
(95 B)
📄
err_syntax7.output
(0 B)
📄
err_syntax7.tab.c
(442 B)
📄
err_syntax7.tab.h
(0 B)
📄
err_syntax7a.error
(97 B)
📄
err_syntax7a.output
(0 B)
📄
err_syntax7a.tab.c
(442 B)
📄
err_syntax7a.tab.h
(0 B)
📄
err_syntax7b.error
(95 B)
📄
err_syntax7b.output
(0 B)
📄
err_syntax7b.tab.c
(442 B)
📄
err_syntax7b.tab.h
(0 B)
📄
err_syntax8.error
(72 B)
📄
err_syntax8.output
(0 B)
📄
err_syntax8.tab.c
(442 B)
📄
err_syntax8.tab.h
(0 B)
📄
err_syntax8a.error
(77 B)
📄
err_syntax8a.output
(0 B)
📄
err_syntax8a.tab.c
(442 B)
📄
err_syntax8a.tab.h
(0 B)
📄
err_syntax9.error
(94 B)
📄
err_syntax9.output
(0 B)
📄
err_syntax9.tab.c
(442 B)
📄
err_syntax9.tab.h
(0 B)
📄
error.error
(0 B)
📄
error.output
(389 B)
📄
error.tab.c
(38.73 KB)
📄
error.tab.h
(88 B)
📄
expr.oxout.error
(72 B)
📄
expr.oxout.output
(3.01 KB)
📄
expr.oxout.tab.c
(73.23 KB)
📄
expr.oxout.tab.h
(440 B)
📄
grammar.dot
(93.78 KB)
📄
grammar.error
(59 B)
📄
grammar.output
(45.62 KB)
📄
grammar.tab.c
(98.31 KB)
📄
grammar.tab.h
(865 B)
📄
help.error
(985 B)
📄
help.output
(0 B)
📄
inherit0.error
(0 B)
📄
inherit0.output
(2.03 KB)
📄
inherit0.tab.c
(40.79 KB)
📄
inherit0.tab.h
(188 B)
📄
inherit1.error
(0 B)
📄
inherit1.output
(2.03 KB)
📄
inherit1.tab.c
(41.44 KB)
📄
inherit1.tab.h
(483 B)
📄
inherit2.error
(0 B)
📄
inherit2.output
(2.3 KB)
📄
inherit2.tab.c
(42.58 KB)
📄
inherit2.tab.h
(483 B)
📄
no_b_opt.error
(985 B)
📄
no_b_opt.output
(0 B)
📄
no_b_opt1.error
(37 B)
📄
no_b_opt1.output
(0 B)
📄
no_code_c.error
(37 B)
📄
no_code_c.output
(0 B)
📄
no_defines.error
(37 B)
📄
no_defines.output
(0 B)
📄
no_graph.error
(39 B)
📄
no_graph.output
(0 B)
📄
no_include.error
(37 B)
📄
no_include.output
(0 B)
📄
no_opts.error
(37 B)
📄
no_opts.output
(0 B)
📄
no_output.error
(42 B)
📄
no_output.output
(0 B)
📄
no_output1.error
(42 B)
📄
no_output1.output
(0 B)
📄
no_output2.error
(985 B)
📄
no_output2.output
(0 B)
📄
no_p_opt.error
(985 B)
📄
no_p_opt.output
(0 B)
📄
no_p_opt1.error
(37 B)
📄
no_p_opt1.output
(0 B)
📄
no_verbose.error
(42 B)
📄
no_verbose.output
(0 B)
📄
nostdin.error
(965 B)
📄
nostdin.output
(0 B)
📄
ok_syntax1.error
(0 B)
📄
ok_syntax1.output
(7.7 KB)
📄
ok_syntax1.tab.c
(48 KB)
📄
ok_syntax1.tab.h
(617 B)
📄
pure_calc.error
(0 B)
📄
pure_calc.output
(7.19 KB)
📄
pure_calc.tab.c
(46.85 KB)
📄
pure_calc.tab.h
(141 B)
📄
pure_error.error
(0 B)
📄
pure_error.output
(389 B)
📄
pure_error.tab.c
(39.5 KB)
📄
pure_error.tab.h
(88 B)
📄
quote_calc-s.error
(33 B)
📄
quote_calc-s.output
(11.81 KB)
📄
quote_calc-s.tab.c
(47.23 KB)
📄
quote_calc-s.tab.h
(273 B)
📄
quote_calc.error
(33 B)
📄
quote_calc.output
(11.81 KB)
📄
quote_calc.tab.c
(47.32 KB)
📄
quote_calc.tab.h
(369 B)
📄
quote_calc2-s.error
(33 B)
📄
quote_calc2-s.output
(11.59 KB)
📄
quote_calc2-s.tab.c
(47.3 KB)
📄
quote_calc2-s.tab.h
(276 B)
📄
quote_calc2.error
(33 B)
📄
quote_calc2.output
(11.59 KB)
📄
quote_calc2.tab.c
(47.39 KB)
📄
quote_calc2.tab.h
(372 B)
📄
quote_calc3-s.error
(33 B)
📄
quote_calc3-s.output
(11.86 KB)
📄
quote_calc3-s.tab.c
(47.33 KB)
📄
quote_calc3-s.tab.h
(276 B)
📄
quote_calc3.error
(33 B)
📄
quote_calc3.output
(11.86 KB)
📄
quote_calc3.tab.c
(47.33 KB)
📄
quote_calc3.tab.h
(276 B)
📄
quote_calc4-s.error
(33 B)
📄
quote_calc4-s.output
(13.61 KB)
📄
quote_calc4-s.tab.c
(47.42 KB)
📄
quote_calc4-s.tab.h
(276 B)
📄
quote_calc4.error
(33 B)
📄
quote_calc4.output
(13.61 KB)
📄
quote_calc4.tab.c
(47.41 KB)
📄
quote_calc4.tab.h
(276 B)
📄
rename_debug.c
(36.27 KB)
📄
rename_debug.error
(0 B)
📄
rename_debug.h
(98 B)
📄
rename_debug.i
(1.43 KB)
📄
rename_debug.output
(389 B)
📄
stdin1.calc.c
(44.56 KB)
📄
stdin1.error
(0 B)
📄
stdin1.output
(0 B)
📄
stdin2.calc.c
(44.56 KB)
📄
stdin2.error
(0 B)
📄
stdin2.output
(0 B)
📄
varsyntax_calc1.error
(89 B)
📄
varsyntax_calc1.output
(15.39 KB)
📄
varsyntax_calc1.tab.c
(51.74 KB)
📄
varsyntax_calc1.tab.h
(550 B)
Editing: quote_calc.output
0 $accept : list $end 1 list : 2 | list stat '\n' 3 | list error '\n' 4 stat : expr 5 | LETTER '=' expr 6 expr : '(' expr ')' 7 | expr OP_ADD expr 8 | expr OP_SUB expr 9 | expr OP_MUL expr 10 | expr OP_DIV expr 11 | expr OP_MOD expr 12 | expr OP_AND expr 13 | expr '|' expr 14 | OP_SUB expr 15 | LETTER 16 | number 17 number : DIGIT 18 | number DIGIT state 0 $accept : . list $end (0) list : . (1) . reduce 1 list goto 1 state 1 $accept : list . $end (0) list : list . stat '\n' (2) list : list . error '\n' (3) $end accept error shift 2 OP_SUB shift 3 DIGIT shift 4 LETTER shift 5 '(' shift 6 . error stat goto 7 expr goto 8 number goto 9 state 2 list : list error . '\n' (3) '\n' shift 10 . error state 3 expr : OP_SUB . expr (14) OP_SUB shift 3 DIGIT shift 4 LETTER shift 11 '(' shift 6 . error expr goto 12 number goto 9 state 4 number : DIGIT . (17) . reduce 17 state 5 stat : LETTER . '=' expr (5) expr : LETTER . (15) '=' shift 13 OP_ADD reduce 15 OP_SUB reduce 15 OP_MUL reduce 15 OP_DIV reduce 15 OP_MOD reduce 15 OP_AND reduce 15 '|' reduce 15 '\n' reduce 15 state 6 expr : '(' . expr ')' (6) OP_SUB shift 3 DIGIT shift 4 LETTER shift 11 '(' shift 6 . error expr goto 14 number goto 9 state 7 list : list stat . '\n' (2) '\n' shift 15 . error state 8 stat : expr . (4) expr : expr . OP_ADD expr (7) expr : expr . OP_SUB expr (8) expr : expr . OP_MUL expr (9) expr : expr . OP_DIV expr (10) expr : expr . OP_MOD expr (11) expr : expr . OP_AND expr (12) expr : expr . '|' expr (13) OP_ADD shift 16 OP_SUB shift 17 OP_MUL shift 18 OP_DIV shift 19 OP_MOD shift 20 OP_AND shift 21 '|' shift 22 '\n' reduce 4 state 9 expr : number . (16) number : number . DIGIT (18) DIGIT shift 23 OP_ADD reduce 16 OP_SUB reduce 16 OP_MUL reduce 16 OP_DIV reduce 16 OP_MOD reduce 16 OP_AND reduce 16 '|' reduce 16 '\n' reduce 16 ')' reduce 16 state 10 list : list error '\n' . (3) . reduce 3 state 11 expr : LETTER . (15) . reduce 15 12: shift/reduce conflict (shift 16, reduce 14) on OP_ADD 12: shift/reduce conflict (shift 17, reduce 14) on OP_SUB 12: shift/reduce conflict (shift 18, reduce 14) on OP_MUL 12: shift/reduce conflict (shift 19, reduce 14) on OP_DIV 12: shift/reduce conflict (shift 20, reduce 14) on OP_MOD 12: shift/reduce conflict (shift 21, reduce 14) on OP_AND state 12 expr : expr . OP_ADD expr (7) expr : expr . OP_SUB expr (8) expr : expr . OP_MUL expr (9) expr : expr . OP_DIV expr (10) expr : expr . OP_MOD expr (11) expr : expr . OP_AND expr (12) expr : expr . '|' expr (13) expr : OP_SUB expr . (14) OP_ADD shift 16 OP_SUB shift 17 OP_MUL shift 18 OP_DIV shift 19 OP_MOD shift 20 OP_AND shift 21 '|' reduce 14 '\n' reduce 14 ')' reduce 14 state 13 stat : LETTER '=' . expr (5) OP_SUB shift 3 DIGIT shift 4 LETTER shift 11 '(' shift 6 . error expr goto 24 number goto 9 state 14 expr : '(' expr . ')' (6) expr : expr . OP_ADD expr (7) expr : expr . OP_SUB expr (8) expr : expr . OP_MUL expr (9) expr : expr . OP_DIV expr (10) expr : expr . OP_MOD expr (11) expr : expr . OP_AND expr (12) expr : expr . '|' expr (13) OP_ADD shift 16 OP_SUB shift 17 OP_MUL shift 18 OP_DIV shift 19 OP_MOD shift 20 OP_AND shift 21 '|' shift 22 ')' shift 25 . error state 15 list : list stat '\n' . (2) . reduce 2 state 16 expr : expr OP_ADD . expr (7) OP_SUB shift 3 DIGIT shift 4 LETTER shift 11 '(' shift 6 . error expr goto 26 number goto 9 state 17 expr : expr OP_SUB . expr (8) OP_SUB shift 3 DIGIT shift 4 LETTER shift 11 '(' shift 6 . error expr goto 27 number goto 9 state 18 expr : expr OP_MUL . expr (9) OP_SUB shift 3 DIGIT shift 4 LETTER shift 11 '(' shift 6 . error expr goto 28 number goto 9 state 19 expr : expr OP_DIV . expr (10) OP_SUB shift 3 DIGIT shift 4 LETTER shift 11 '(' shift 6 . error expr goto 29 number goto 9 state 20 expr : expr OP_MOD . expr (11) OP_SUB shift 3 DIGIT shift 4 LETTER shift 11 '(' shift 6 . error expr goto 30 number goto 9 state 21 expr : expr OP_AND . expr (12) OP_SUB shift 3 DIGIT shift 4 LETTER shift 11 '(' shift 6 . error expr goto 31 number goto 9 state 22 expr : expr '|' . expr (13) OP_SUB shift 3 DIGIT shift 4 LETTER shift 11 '(' shift 6 . error expr goto 32 number goto 9 state 23 number : number DIGIT . (18) . reduce 18 state 24 stat : LETTER '=' expr . (5) expr : expr . OP_ADD expr (7) expr : expr . OP_SUB expr (8) expr : expr . OP_MUL expr (9) expr : expr . OP_DIV expr (10) expr : expr . OP_MOD expr (11) expr : expr . OP_AND expr (12) expr : expr . '|' expr (13) OP_ADD shift 16 OP_SUB shift 17 OP_MUL shift 18 OP_DIV shift 19 OP_MOD shift 20 OP_AND shift 21 '|' shift 22 '\n' reduce 5 state 25 expr : '(' expr ')' . (6) . reduce 6 26: shift/reduce conflict (shift 16, reduce 7) on OP_ADD 26: shift/reduce conflict (shift 17, reduce 7) on OP_SUB 26: shift/reduce conflict (shift 18, reduce 7) on OP_MUL 26: shift/reduce conflict (shift 19, reduce 7) on OP_DIV 26: shift/reduce conflict (shift 20, reduce 7) on OP_MOD 26: shift/reduce conflict (shift 21, reduce 7) on OP_AND 26: shift/reduce conflict (shift 22, reduce 7) on '|' state 26 expr : expr . OP_ADD expr (7) expr : expr OP_ADD expr . (7) expr : expr . OP_SUB expr (8) expr : expr . OP_MUL expr (9) expr : expr . OP_DIV expr (10) expr : expr . OP_MOD expr (11) expr : expr . OP_AND expr (12) expr : expr . '|' expr (13) OP_ADD shift 16 OP_SUB shift 17 OP_MUL shift 18 OP_DIV shift 19 OP_MOD shift 20 OP_AND shift 21 '|' shift 22 '\n' reduce 7 ')' reduce 7 27: shift/reduce conflict (shift 16, reduce 8) on OP_ADD 27: shift/reduce conflict (shift 17, reduce 8) on OP_SUB 27: shift/reduce conflict (shift 18, reduce 8) on OP_MUL 27: shift/reduce conflict (shift 19, reduce 8) on OP_DIV 27: shift/reduce conflict (shift 20, reduce 8) on OP_MOD 27: shift/reduce conflict (shift 21, reduce 8) on OP_AND 27: shift/reduce conflict (shift 22, reduce 8) on '|' state 27 expr : expr . OP_ADD expr (7) expr : expr . OP_SUB expr (8) expr : expr OP_SUB expr . (8) expr : expr . OP_MUL expr (9) expr : expr . OP_DIV expr (10) expr : expr . OP_MOD expr (11) expr : expr . OP_AND expr (12) expr : expr . '|' expr (13) OP_ADD shift 16 OP_SUB shift 17 OP_MUL shift 18 OP_DIV shift 19 OP_MOD shift 20 OP_AND shift 21 '|' shift 22 '\n' reduce 8 ')' reduce 8 28: shift/reduce conflict (shift 16, reduce 9) on OP_ADD 28: shift/reduce conflict (shift 17, reduce 9) on OP_SUB 28: shift/reduce conflict (shift 18, reduce 9) on OP_MUL 28: shift/reduce conflict (shift 19, reduce 9) on OP_DIV 28: shift/reduce conflict (shift 20, reduce 9) on OP_MOD 28: shift/reduce conflict (shift 21, reduce 9) on OP_AND 28: shift/reduce conflict (shift 22, reduce 9) on '|' state 28 expr : expr . OP_ADD expr (7) expr : expr . OP_SUB expr (8) expr : expr . OP_MUL expr (9) expr : expr OP_MUL expr . (9) expr : expr . OP_DIV expr (10) expr : expr . OP_MOD expr (11) expr : expr . OP_AND expr (12) expr : expr . '|' expr (13) OP_ADD shift 16 OP_SUB shift 17 OP_MUL shift 18 OP_DIV shift 19 OP_MOD shift 20 OP_AND shift 21 '|' shift 22 '\n' reduce 9 ')' reduce 9 29: shift/reduce conflict (shift 16, reduce 10) on OP_ADD 29: shift/reduce conflict (shift 17, reduce 10) on OP_SUB 29: shift/reduce conflict (shift 18, reduce 10) on OP_MUL 29: shift/reduce conflict (shift 19, reduce 10) on OP_DIV 29: shift/reduce conflict (shift 20, reduce 10) on OP_MOD 29: shift/reduce conflict (shift 21, reduce 10) on OP_AND 29: shift/reduce conflict (shift 22, reduce 10) on '|' state 29 expr : expr . OP_ADD expr (7) expr : expr . OP_SUB expr (8) expr : expr . OP_MUL expr (9) expr : expr . OP_DIV expr (10) expr : expr OP_DIV expr . (10) expr : expr . OP_MOD expr (11) expr : expr . OP_AND expr (12) expr : expr . '|' expr (13) OP_ADD shift 16 OP_SUB shift 17 OP_MUL shift 18 OP_DIV shift 19 OP_MOD shift 20 OP_AND shift 21 '|' shift 22 '\n' reduce 10 ')' reduce 10 30: shift/reduce conflict (shift 16, reduce 11) on OP_ADD 30: shift/reduce conflict (shift 17, reduce 11) on OP_SUB 30: shift/reduce conflict (shift 18, reduce 11) on OP_MUL 30: shift/reduce conflict (shift 19, reduce 11) on OP_DIV 30: shift/reduce conflict (shift 20, reduce 11) on OP_MOD 30: shift/reduce conflict (shift 21, reduce 11) on OP_AND 30: shift/reduce conflict (shift 22, reduce 11) on '|' state 30 expr : expr . OP_ADD expr (7) expr : expr . OP_SUB expr (8) expr : expr . OP_MUL expr (9) expr : expr . OP_DIV expr (10) expr : expr . OP_MOD expr (11) expr : expr OP_MOD expr . (11) expr : expr . OP_AND expr (12) expr : expr . '|' expr (13) OP_ADD shift 16 OP_SUB shift 17 OP_MUL shift 18 OP_DIV shift 19 OP_MOD shift 20 OP_AND shift 21 '|' shift 22 '\n' reduce 11 ')' reduce 11 31: shift/reduce conflict (shift 16, reduce 12) on OP_ADD 31: shift/reduce conflict (shift 17, reduce 12) on OP_SUB 31: shift/reduce conflict (shift 18, reduce 12) on OP_MUL 31: shift/reduce conflict (shift 19, reduce 12) on OP_DIV 31: shift/reduce conflict (shift 20, reduce 12) on OP_MOD 31: shift/reduce conflict (shift 21, reduce 12) on OP_AND 31: shift/reduce conflict (shift 22, reduce 12) on '|' state 31 expr : expr . OP_ADD expr (7) expr : expr . OP_SUB expr (8) expr : expr . OP_MUL expr (9) expr : expr . OP_DIV expr (10) expr : expr . OP_MOD expr (11) expr : expr . OP_AND expr (12) expr : expr OP_AND expr . (12) expr : expr . '|' expr (13) OP_ADD shift 16 OP_SUB shift 17 OP_MUL shift 18 OP_DIV shift 19 OP_MOD shift 20 OP_AND shift 21 '|' shift 22 '\n' reduce 12 ')' reduce 12 32: shift/reduce conflict (shift 16, reduce 13) on OP_ADD 32: shift/reduce conflict (shift 17, reduce 13) on OP_SUB 32: shift/reduce conflict (shift 18, reduce 13) on OP_MUL 32: shift/reduce conflict (shift 19, reduce 13) on OP_DIV 32: shift/reduce conflict (shift 20, reduce 13) on OP_MOD 32: shift/reduce conflict (shift 21, reduce 13) on OP_AND state 32 expr : expr . OP_ADD expr (7) expr : expr . OP_SUB expr (8) expr : expr . OP_MUL expr (9) expr : expr . OP_DIV expr (10) expr : expr . OP_MOD expr (11) expr : expr . OP_AND expr (12) expr : expr . '|' expr (13) expr : expr '|' expr . (13) OP_ADD shift 16 OP_SUB shift 17 OP_MUL shift 18 OP_DIV shift 19 OP_MOD shift 20 OP_AND shift 21 '|' reduce 13 '\n' reduce 13 ')' reduce 13 State 12 contains 6 shift/reduce conflicts. State 26 contains 7 shift/reduce conflicts. State 27 contains 7 shift/reduce conflicts. State 28 contains 7 shift/reduce conflicts. State 29 contains 7 shift/reduce conflicts. State 30 contains 7 shift/reduce conflicts. State 31 contains 7 shift/reduce conflicts. State 32 contains 6 shift/reduce conflicts. 28 terminals, 5 nonterminals 19 grammar rules, 33 states grammar parser grammar symbol# value# symbol 0 0 $end 1 256 error 2 257 OP_ADD 3 258 "ADD" 4 259 OP_SUB 5 260 "SUB" 6 261 OP_MUL 7 262 "MUL" 8 263 OP_DIV 9 264 "DIV" 10 265 OP_MOD 11 266 "MOD" 12 267 OP_AND 13 268 "AND" 14 269 DIGIT 15 270 LETTER 16 124 '|' 17 38 '&' 18 43 '+' 19 45 '-' 20 42 '*' 21 47 '/' 22 37 '%' 23 271 UMINUS 24 10 '\n' 25 61 '=' 26 40 '(' 27 41 ')' 28 272 $accept 29 273 list 30 274 stat 31 275 expr 32 276 number
Upload File
Create Folder