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: code_calc.tab.c
#undef YYBTYACC #define YYBTYACC 0 #define YYDEBUGSTR YYPREFIX "debug" typedef int YYINT; const YYINT calc_lhs[] = { -1, 0, 0, 0, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, }; const YYINT calc_len[] = { 2, 0, 3, 3, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 1, 1, 1, 2, }; const YYINT calc_defred[] = { 1, 0, 0, 17, 0, 0, 0, 0, 0, 0, 3, 0, 15, 14, 0, 2, 0, 0, 0, 0, 0, 0, 0, 18, 0, 6, 0, 0, 0, 0, 9, 10, 11, }; #if defined(YYDESTRUCT_CALL) || defined(YYSTYPE_TOSTRING) const YYINT calc_stos[] = { 0, 261, 256, 257, 258, 45, 40, 262, 263, 264, 10, 61, 258, 263, 263, 10, 124, 38, 43, 45, 42, 47, 37, 257, 263, 41, 263, 263, 263, 263, 263, 263, 263, }; #endif /* YYDESTRUCT_CALL || YYSTYPE_TOSTRING */ const YYINT calc_dgoto[] = { 1, 7, 8, 9, }; const YYINT calc_sindex[] = { 0, -40, -7, 0, -55, -38, -38, 1, -29, -247, 0, -38, 0, 0, 22, 0, -38, -38, -38, -38, -38, -38, -38, 0, -29, 0, 51, 60, -20, -20, 0, 0, 0, }; const YYINT calc_rindex[] = { 0, 0, 0, 0, 2, 0, 0, 0, 9, -9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, -6, 14, 5, 13, 0, 0, 0, }; #if YYBTYACC const YYINT calc_cindex[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; #endif const YYINT calc_gindex[] = { 0, 0, 65, 0, }; const YYINT calc_table[] = { 6, 16, 6, 10, 13, 5, 11, 5, 22, 17, 23, 15, 15, 20, 18, 7, 19, 22, 21, 4, 5, 0, 20, 8, 12, 0, 0, 21, 16, 16, 0, 0, 16, 16, 16, 13, 16, 0, 16, 15, 15, 0, 0, 7, 15, 15, 7, 15, 7, 15, 7, 8, 12, 0, 8, 12, 8, 0, 8, 22, 17, 0, 0, 25, 20, 18, 0, 19, 0, 21, 13, 14, 0, 0, 0, 0, 24, 0, 0, 0, 0, 26, 27, 28, 29, 30, 31, 32, 22, 17, 0, 0, 0, 20, 18, 16, 19, 22, 21, 0, 0, 0, 20, 18, 0, 19, 0, 21, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 8, 12, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 3, 12, }; const YYINT calc_check[] = { 40, 10, 40, 10, 10, 45, 61, 45, 37, 38, 257, 10, 10, 42, 43, 10, 45, 37, 47, 10, 10, -1, 42, 10, 10, -1, -1, 47, 37, 38, -1, -1, 41, 42, 43, 41, 45, -1, 47, 37, 38, -1, -1, 38, 42, 43, 41, 45, 43, 47, 45, 38, 38, -1, 41, 41, 43, -1, 45, 37, 38, -1, -1, 41, 42, 43, -1, 45, -1, 47, 5, 6, -1, -1, -1, -1, 11, -1, -1, -1, -1, 16, 17, 18, 19, 20, 21, 22, 37, 38, -1, -1, -1, 42, 43, 124, 45, 37, 47, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, -1, -1, -1, -1, 124, -1, -1, 124, -1, -1, -1, -1, -1, -1, -1, 124, -1, -1, 124, -1, -1, -1, -1, -1, -1, -1, 124, 124, -1, -1, -1, -1, -1, -1, -1, 124, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 256, 257, 258, 257, 258, }; #if YYBTYACC const YYINT calc_ctable[] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, }; #endif #ifndef YYDEBUG #define YYDEBUG 0 #endif const char *const calc_name[] = { "$end",0,0,0,0,0,0,0,0,0,"'\\n'",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,"'%'","'&'",0,"'('","')'","'*'","'+'",0,"'-'",0,"'/'",0,0,0,0,0,0,0,0,0,0, 0,0,0,"'='",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"'|'",0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,"error","DIGIT","LETTER","UMINUS","$accept","list","stat","expr","number", "illegal-symbol", }; #if YYDEBUG const char *const calc_rule[] = { "$accept : list", "list :", "list : list stat '\\n'", "list : list error '\\n'", "stat : expr", "stat : LETTER '=' expr", "expr : '(' expr ')'", "expr : expr '+' expr", "expr : expr '-' expr", "expr : expr '*' expr", "expr : expr '/' expr", "expr : expr '%' expr", "expr : expr '&' expr", "expr : expr '|' expr", "expr : '-' expr", "expr : LETTER", "expr : number", "number : DIGIT", "number : number DIGIT", }; #endif
Upload File
Create Folder