summaryrefslogtreecommitdiff
path: root/web/yacco2/grammar-testsuite/pager_1tbl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'web/yacco2/grammar-testsuite/pager_1tbl.cpp')
-rw-r--r--web/yacco2/grammar-testsuite/pager_1tbl.cpp353
1 files changed, 353 insertions, 0 deletions
diff --git a/web/yacco2/grammar-testsuite/pager_1tbl.cpp b/web/yacco2/grammar-testsuite/pager_1tbl.cpp
new file mode 100644
index 0000000000..71259dfd9a
--- /dev/null
+++ b/web/yacco2/grammar-testsuite/pager_1tbl.cpp
@@ -0,0 +1,353 @@
+/*
+ File: pager_1tbl.cpp
+ Date and Time: Sat Jan 31 11:58:44 2015
+*/
+#include "pager_1.h"
+using namespace NS_testout_T_enum;// enumerate
+using namespace NS_testout_err_symbols;// error symbols
+using namespace NS_yacco2_k_symbols;// lrk
+using namespace NS_testout_terminals;// terminals
+using namespace NS_yacco2_characters;// rc
+using namespace yacco2;// yacco2 library
+using namespace NS_pager_1;// grammar's ns
+// first set terminals
+// LR1_eog
+yacco2::UCHAR LA1_Cpager_1[] ={
+1
+,0,2
+};
+// LR1_eolr
+yacco2::UCHAR LA2_Cpager_1[] ={
+1
+,0,4
+};
+// raw_d
+yacco2::UCHAR LA3_Cpager_1[] ={
+1
+,13,16
+};
+// raw_c
+yacco2::UCHAR LA4_Cpager_1[] ={
+1
+,13,8
+};
+extern yacco2::State S1_Cpager_1;
+extern yacco2::State S2_Cpager_1;
+extern yacco2::State S3_Cpager_1;
+extern yacco2::State S4_Cpager_1;
+extern yacco2::State S5_Cpager_1;
+extern yacco2::State S6_Cpager_1;
+extern yacco2::State S7_Cpager_1;
+extern yacco2::State S8_Cpager_1;
+extern yacco2::State S9_Cpager_1;
+extern yacco2::State S10_Cpager_1;
+extern yacco2::State S11_Cpager_1;
+extern yacco2::State S12_Cpager_1;
+extern yacco2::State S13_Cpager_1;
+extern yacco2::State S14_Cpager_1;
+extern yacco2::State S15_Cpager_1;
+extern yacco2::State S16_Cpager_1;
+extern yacco2::State S17_Cpager_1;
+extern yacco2::State S18_Cpager_1;
+extern yacco2::State S19_Cpager_1;
+struct S1std_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[4];
+};
+S1std_Cpager_1 S1st_Cpager_1 = {
+ 4
+ ,
+ {// start of table
+ {105,(State*)&S2_Cpager_1} // shift sym: raw_a
+ ,{106,(State*)&S7_Cpager_1} // shift sym: raw_b
+ ,{269,(State*)&S1_Cpager_1} // accept sym: Rs
+ ,{270,(State*)&S12_Cpager_1} // shift sym: Re
+ }// end of shift table
+};
+yacco2::State S1_Cpager_1 = //State's vectored into symbol: " No symbol"
+{1
+,0,0,0,0,(Shift_tbl*)&S1st_Cpager_1,0,0,0,0};
+struct S2std_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[3];
+};
+S2std_Cpager_1 S2st_Cpager_1 = {
+ 3
+ ,
+ {// start of table
+ {109,(State*)&S14_Cpager_1} // shift sym: raw_e
+ ,{271,(State*)&S3_Cpager_1} // shift sym: Rx
+ ,{272,(State*)&S5_Cpager_1} // shift sym: Ry
+ }// end of shift table
+};
+yacco2::State S2_Cpager_1 = //State's vectored into symbol: "a"
+{2
+,0,0,0,0,(Shift_tbl*)&S2st_Cpager_1,0,0,0,0};
+struct S3std_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[1];
+};
+S3std_Cpager_1 S3st_Cpager_1 = {
+ 1
+ ,
+ {// start of table
+ {108,(State*)&S4_Cpager_1} // shift sym: raw_d
+ }// end of shift table
+};
+yacco2::State S3_Cpager_1 = //State's vectored into symbol: "Rx"
+{3
+,0,0,0,0,(Shift_tbl*)&S3st_Cpager_1,0,0,0,0};
+struct S4rtd_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S4rtd_Cpager_1 S4rt_Cpager_1 = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_Cpager_1,Cpager_1::rhs1_Re_}
+ }// end of reduce table
+};
+yacco2::State S4_Cpager_1 = //State's vectored into symbol: "d"
+{4
+,0,0,0,0,0,(Reduce_tbl*)&S4rt_Cpager_1,0,0,0};
+struct S5std_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[1];
+};
+S5std_Cpager_1 S5st_Cpager_1 = {
+ 1
+ ,
+ {// start of table
+ {107,(State*)&S6_Cpager_1} // shift sym: raw_c
+ }// end of shift table
+};
+yacco2::State S5_Cpager_1 = //State's vectored into symbol: "Ry"
+{5
+,0,0,0,0,(Shift_tbl*)&S5st_Cpager_1,0,0,0,0};
+struct S6rtd_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S6rtd_Cpager_1 S6rt_Cpager_1 = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_Cpager_1,Cpager_1::rhs3_Re_}
+ }// end of reduce table
+};
+yacco2::State S6_Cpager_1 = //State's vectored into symbol: "c"
+{6
+,0,0,0,0,0,(Reduce_tbl*)&S6rt_Cpager_1,0,0,0};
+struct S7std_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[3];
+};
+S7std_Cpager_1 S7st_Cpager_1 = {
+ 3
+ ,
+ {// start of table
+ {109,(State*)&S17_Cpager_1} // shift sym: raw_e
+ ,{271,(State*)&S8_Cpager_1} // shift sym: Rx
+ ,{272,(State*)&S10_Cpager_1} // shift sym: Ry
+ }// end of shift table
+};
+yacco2::State S7_Cpager_1 = //State's vectored into symbol: "b"
+{7
+,0,0,0,0,(Shift_tbl*)&S7st_Cpager_1,0,0,0,0};
+struct S8std_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[1];
+};
+S8std_Cpager_1 S8st_Cpager_1 = {
+ 1
+ ,
+ {// start of table
+ {107,(State*)&S9_Cpager_1} // shift sym: raw_c
+ }// end of shift table
+};
+yacco2::State S8_Cpager_1 = //State's vectored into symbol: "Rx"
+{8
+,0,0,0,0,(Shift_tbl*)&S8st_Cpager_1,0,0,0,0};
+struct S9rtd_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S9rtd_Cpager_1 S9rt_Cpager_1 = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_Cpager_1,Cpager_1::rhs2_Re_}
+ }// end of reduce table
+};
+yacco2::State S9_Cpager_1 = //State's vectored into symbol: "c"
+{9
+,0,0,0,0,0,(Reduce_tbl*)&S9rt_Cpager_1,0,0,0};
+struct S10std_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[1];
+};
+S10std_Cpager_1 S10st_Cpager_1 = {
+ 1
+ ,
+ {// start of table
+ {108,(State*)&S11_Cpager_1} // shift sym: raw_d
+ }// end of shift table
+};
+yacco2::State S10_Cpager_1 = //State's vectored into symbol: "Ry"
+{10
+,0,0,0,0,(Shift_tbl*)&S10st_Cpager_1,0,0,0,0};
+struct S11rtd_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S11rtd_Cpager_1 S11rt_Cpager_1 = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_Cpager_1,Cpager_1::rhs4_Re_}
+ }// end of reduce table
+};
+yacco2::State S11_Cpager_1 = //State's vectored into symbol: "d"
+{11
+,0,0,0,0,0,(Reduce_tbl*)&S11rt_Cpager_1,0,0,0};
+struct S12std_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[1];
+};
+S12std_Cpager_1 S12st_Cpager_1 = {
+ 1
+ ,
+ {// start of table
+ {1,(State*)&S13_Cpager_1} // shift sym: LR1_eog
+ }// end of shift table
+};
+yacco2::State S12_Cpager_1 = //State's vectored into symbol: "Re"
+{12
+,0,0,0,0,(Shift_tbl*)&S12st_Cpager_1,0,0,0,0};
+struct S13rtd_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S13rtd_Cpager_1 S13rt_Cpager_1 = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA2_Cpager_1,Cpager_1::rhs1_Rs_}
+ }// end of reduce table
+};
+yacco2::State S13_Cpager_1 = //State's vectored into symbol: "eog"
+{13
+,0,0,0,0,0,(Reduce_tbl*)&S13rt_Cpager_1,0,0,0};
+struct S14std_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[3];
+};
+S14std_Cpager_1 S14st_Cpager_1 = {
+ 3
+ ,
+ {// start of table
+ {109,(State*)&S14_Cpager_1} // shift sym: raw_e
+ ,{271,(State*)&S15_Cpager_1} // shift sym: Rx
+ ,{272,(State*)&S16_Cpager_1} // shift sym: Ry
+ }// end of shift table
+};
+struct S14rtd_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[2];
+};
+S14rtd_Cpager_1 S14rt_Cpager_1 = {
+ 2
+ ,
+ {// start of table
+ {(Set_tbl*)&LA3_Cpager_1,Cpager_1::rhs2_Rx_}
+ ,{(Set_tbl*)&LA4_Cpager_1,Cpager_1::rhs2_Ry_}
+ }// end of reduce table
+};
+yacco2::State S14_Cpager_1 = //State's vectored into symbol: "e"
+{14
+,0,0,0,0,(Shift_tbl*)&S14st_Cpager_1,(Reduce_tbl*)&S14rt_Cpager_1,0,0,0};
+struct S15rtd_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S15rtd_Cpager_1 S15rt_Cpager_1 = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA3_Cpager_1,Cpager_1::rhs1_Rx_}
+ }// end of reduce table
+};
+yacco2::State S15_Cpager_1 = //State's vectored into symbol: "Rx"
+{15
+,0,0,0,0,0,(Reduce_tbl*)&S15rt_Cpager_1,0,0,0};
+struct S16rtd_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S16rtd_Cpager_1 S16rt_Cpager_1 = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA4_Cpager_1,Cpager_1::rhs1_Ry_}
+ }// end of reduce table
+};
+yacco2::State S16_Cpager_1 = //State's vectored into symbol: "Ry"
+{16
+,0,0,0,0,0,(Reduce_tbl*)&S16rt_Cpager_1,0,0,0};
+struct S17std_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[3];
+};
+S17std_Cpager_1 S17st_Cpager_1 = {
+ 3
+ ,
+ {// start of table
+ {109,(State*)&S17_Cpager_1} // shift sym: raw_e
+ ,{271,(State*)&S18_Cpager_1} // shift sym: Rx
+ ,{272,(State*)&S19_Cpager_1} // shift sym: Ry
+ }// end of shift table
+};
+struct S17rtd_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[2];
+};
+S17rtd_Cpager_1 S17rt_Cpager_1 = {
+ 2
+ ,
+ {// start of table
+ {(Set_tbl*)&LA4_Cpager_1,Cpager_1::rhs2_Rx_}
+ ,{(Set_tbl*)&LA3_Cpager_1,Cpager_1::rhs2_Ry_}
+ }// end of reduce table
+};
+yacco2::State S17_Cpager_1 = //State's vectored into symbol: "e"
+{17
+,0,0,0,0,(Shift_tbl*)&S17st_Cpager_1,(Reduce_tbl*)&S17rt_Cpager_1,0,0,0};
+struct S18rtd_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S18rtd_Cpager_1 S18rt_Cpager_1 = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA4_Cpager_1,Cpager_1::rhs1_Rx_}
+ }// end of reduce table
+};
+yacco2::State S18_Cpager_1 = //State's vectored into symbol: "Rx"
+{18
+,0,0,0,0,0,(Reduce_tbl*)&S18rt_Cpager_1,0,0,0};
+struct S19rtd_Cpager_1{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S19rtd_Cpager_1 S19rt_Cpager_1 = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA3_Cpager_1,Cpager_1::rhs1_Ry_}
+ }// end of reduce table
+};
+yacco2::State S19_Cpager_1 = //State's vectored into symbol: "Ry"
+{19
+,0,0,0,0,0,(Reduce_tbl*)&S19rt_Cpager_1,0,0,0};