/* File: km_1tbl.cpp Date and Time: Sat Jan 31 11:58:40 2015 */ #include "km_1.h" using namespace NS_yacco2_T_enum;// enumerate using namespace NS_yacco2_err_symbols;// error symbols using namespace NS_yacco2_k_symbols;// lrk using namespace NS_yacco2_terminals;// terminals using namespace NS_yacco2_characters;// rc using namespace yacco2;// yacco2 library using namespace NS_km_1;// grammar's ns // first set terminals // LR1_eog yacco2::UCHAR LA1_Ckm_1[] ={ 1 ,0,2 }; // raw_a yacco2::UCHAR LA2_Ckm_1[] ={ 1 ,13,2 }; // raw_b yacco2::UCHAR LA3_Ckm_1[] ={ 1 ,13,4 }; // LR1_eolr yacco2::UCHAR LA4_Ckm_1[] ={ 1 ,0,4 }; extern yacco2::State S1_Ckm_1; extern yacco2::State S2_Ckm_1; extern yacco2::State S3_Ckm_1; extern yacco2::State S4_Ckm_1; extern yacco2::State S5_Ckm_1; extern yacco2::State S6_Ckm_1; extern yacco2::State S7_Ckm_1; extern yacco2::State S8_Ckm_1; extern yacco2::State S9_Ckm_1; extern yacco2::State S10_Ckm_1; extern yacco2::State S11_Ckm_1; extern yacco2::State S12_Ckm_1; extern yacco2::State S13_Ckm_1; extern yacco2::State S14_Ckm_1; extern yacco2::State S15_Ckm_1; extern yacco2::State S16_Ckm_1; extern yacco2::State S17_Ckm_1; extern yacco2::State S18_Ckm_1; extern yacco2::State S19_Ckm_1; extern yacco2::State S20_Ckm_1; extern yacco2::State S21_Ckm_1; extern yacco2::State S22_Ckm_1; extern yacco2::State S23_Ckm_1; extern yacco2::State S24_Ckm_1; struct S1std_Ckm_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[6]; }; S1std_Ckm_1 S1st_Ckm_1 = { 6 , {// start of table {125,(State*)&S2_Ckm_1} // shift sym: raw_u ,{128,(State*)&S7_Ckm_1} // shift sym: raw_x ,{569,(State*)&S1_Ckm_1} // accept sym: Rs ,{570,(State*)&S13_Ckm_1} // shift sym: Re ,{571,(State*)&S15_Ckm_1} // shift sym: Ra ,{572,(State*)&S17_Ckm_1} // shift sym: Rb }// end of shift table }; yacco2::State S1_Ckm_1 = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Ckm_1,0,0,0,0}; struct S2std_Ckm_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S2std_Ckm_1 S2st_Ckm_1 = { 3 , {// start of table {128,(State*)&S19_Ckm_1} // shift sym: raw_x ,{571,(State*)&S3_Ckm_1} // shift sym: Ra ,{572,(State*)&S5_Ckm_1} // shift sym: Rb }// end of shift table }; yacco2::State S2_Ckm_1 = //State's vectored into symbol: "u" {2 ,0,0,0,0,(Shift_tbl*)&S2st_Ckm_1,0,0,0,0}; struct S3std_Ckm_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S3std_Ckm_1 S3st_Ckm_1 = { 1 , {// start of table {106,(State*)&S4_Ckm_1} // shift sym: raw_b }// end of shift table }; yacco2::State S3_Ckm_1 = //State's vectored into symbol: "Ra" {3 ,0,0,0,0,(Shift_tbl*)&S3st_Ckm_1,0,0,0,0}; struct S4rtd_Ckm_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Ckm_1 S4rt_Ckm_1 = { 1 , {// start of table {(Set_tbl*)&LA1_Ckm_1,Ckm_1::rhs3_Re_} }// end of reduce table }; yacco2::State S4_Ckm_1 = //State's vectored into symbol: "b" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Ckm_1,0,0,0}; struct S5std_Ckm_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S5std_Ckm_1 S5st_Ckm_1 = { 1 , {// start of table {105,(State*)&S6_Ckm_1} // shift sym: raw_a }// end of shift table }; yacco2::State S5_Ckm_1 = //State's vectored into symbol: "Rb" {5 ,0,0,0,0,(Shift_tbl*)&S5st_Ckm_1,0,0,0,0}; struct S6rtd_Ckm_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Ckm_1 S6rt_Ckm_1 = { 1 , {// start of table {(Set_tbl*)&LA1_Ckm_1,Ckm_1::rhs4_Re_} }// end of reduce table }; yacco2::State S6_Ckm_1 = //State's vectored into symbol: "a" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Ckm_1,0,0,0}; struct S7std_Ckm_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S7std_Ckm_1 S7st_Ckm_1 = { 2 , {// start of table {121,(State*)&S8_Ckm_1} // shift sym: raw_q ,{129,(State*)&S9_Ckm_1} // shift sym: raw_y }// end of shift table }; yacco2::State S7_Ckm_1 = //State's vectored into symbol: "x" {7 ,0,0,0,0,(Shift_tbl*)&S7st_Ckm_1,0,0,0,0}; struct S8rtd_Ckm_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[2]; }; S8rtd_Ckm_1 S8rt_Ckm_1 = { 2 , {// start of table {(Set_tbl*)&LA2_Ckm_1,Ckm_1::rhs2_Ra_} ,{(Set_tbl*)&LA3_Ckm_1,Ckm_1::rhs2_Rb_} }// end of reduce table }; yacco2::State S8_Ckm_1 = //State's vectored into symbol: "q" {8 ,0,0,0,0,0,(Reduce_tbl*)&S8rt_Ckm_1,0,0,0}; struct S9std_Ckm_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S9std_Ckm_1 S9st_Ckm_1 = { 1 , {// start of table {130,(State*)&S10_Ckm_1} // shift sym: raw_z }// end of shift table }; yacco2::State S9_Ckm_1 = //State's vectored into symbol: "y" {9 ,0,0,0,0,(Shift_tbl*)&S9st_Ckm_1,0,0,0,0}; struct S10std_Ckm_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S10std_Ckm_1 S10st_Ckm_1 = { 3 , {// start of table {128,(State*)&S7_Ckm_1} // shift sym: raw_x ,{571,(State*)&S11_Ckm_1} // shift sym: Ra ,{572,(State*)&S12_Ckm_1} // shift sym: Rb }// end of shift table }; yacco2::State S10_Ckm_1 = //State's vectored into symbol: "z" {10 ,0,0,0,0,(Shift_tbl*)&S10st_Ckm_1,0,0,0,0}; struct S11rtd_Ckm_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S11rtd_Ckm_1 S11rt_Ckm_1 = { 1 , {// start of table {(Set_tbl*)&LA2_Ckm_1,Ckm_1::rhs1_Ra_} }// end of reduce table }; yacco2::State S11_Ckm_1 = //State's vectored into symbol: "Ra" {11 ,0,0,0,0,0,(Reduce_tbl*)&S11rt_Ckm_1,0,0,0}; struct S12rtd_Ckm_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S12rtd_Ckm_1 S12rt_Ckm_1 = { 1 , {// start of table {(Set_tbl*)&LA3_Ckm_1,Ckm_1::rhs1_Rb_} }// end of reduce table }; yacco2::State S12_Ckm_1 = //State's vectored into symbol: "Rb" {12 ,0,0,0,0,0,(Reduce_tbl*)&S12rt_Ckm_1,0,0,0}; struct S13std_Ckm_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S13std_Ckm_1 S13st_Ckm_1 = { 1 , {// start of table {1,(State*)&S14_Ckm_1} // shift sym: LR1_eog }// end of shift table }; yacco2::State S13_Ckm_1 = //State's vectored into symbol: "Re" {13 ,0,0,0,0,(Shift_tbl*)&S13st_Ckm_1,0,0,0,0}; struct S14rtd_Ckm_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S14rtd_Ckm_1 S14rt_Ckm_1 = { 1 , {// start of table {(Set_tbl*)&LA4_Ckm_1,Ckm_1::rhs1_Rs_} }// end of reduce table }; yacco2::State S14_Ckm_1 = //State's vectored into symbol: "eog" {14 ,0,0,0,0,0,(Reduce_tbl*)&S14rt_Ckm_1,0,0,0}; struct S15std_Ckm_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S15std_Ckm_1 S15st_Ckm_1 = { 1 , {// start of table {105,(State*)&S16_Ckm_1} // shift sym: raw_a }// end of shift table }; yacco2::State S15_Ckm_1 = //State's vectored into symbol: "Ra" {15 ,0,0,0,0,(Shift_tbl*)&S15st_Ckm_1,0,0,0,0}; struct S16rtd_Ckm_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S16rtd_Ckm_1 S16rt_Ckm_1 = { 1 , {// start of table {(Set_tbl*)&LA1_Ckm_1,Ckm_1::rhs1_Re_} }// end of reduce table }; yacco2::State S16_Ckm_1 = //State's vectored into symbol: "a" {16 ,0,0,0,0,0,(Reduce_tbl*)&S16rt_Ckm_1,0,0,0}; struct S17std_Ckm_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S17std_Ckm_1 S17st_Ckm_1 = { 1 , {// start of table {106,(State*)&S18_Ckm_1} // shift sym: raw_b }// end of shift table }; yacco2::State S17_Ckm_1 = //State's vectored into symbol: "Rb" {17 ,0,0,0,0,(Shift_tbl*)&S17st_Ckm_1,0,0,0,0}; struct S18rtd_Ckm_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S18rtd_Ckm_1 S18rt_Ckm_1 = { 1 , {// start of table {(Set_tbl*)&LA1_Ckm_1,Ckm_1::rhs2_Re_} }// end of reduce table }; yacco2::State S18_Ckm_1 = //State's vectored into symbol: "b" {18 ,0,0,0,0,0,(Reduce_tbl*)&S18rt_Ckm_1,0,0,0}; struct S19std_Ckm_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S19std_Ckm_1 S19st_Ckm_1 = { 2 , {// start of table {121,(State*)&S20_Ckm_1} // shift sym: raw_q ,{129,(State*)&S21_Ckm_1} // shift sym: raw_y }// end of shift table }; yacco2::State S19_Ckm_1 = //State's vectored into symbol: "x" {19 ,0,0,0,0,(Shift_tbl*)&S19st_Ckm_1,0,0,0,0}; struct S20rtd_Ckm_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[2]; }; S20rtd_Ckm_1 S20rt_Ckm_1 = { 2 , {// start of table {(Set_tbl*)&LA3_Ckm_1,Ckm_1::rhs2_Ra_} ,{(Set_tbl*)&LA2_Ckm_1,Ckm_1::rhs2_Rb_} }// end of reduce table }; yacco2::State S20_Ckm_1 = //State's vectored into symbol: "q" {20 ,0,0,0,0,0,(Reduce_tbl*)&S20rt_Ckm_1,0,0,0}; struct S21std_Ckm_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S21std_Ckm_1 S21st_Ckm_1 = { 1 , {// start of table {130,(State*)&S22_Ckm_1} // shift sym: raw_z }// end of shift table }; yacco2::State S21_Ckm_1 = //State's vectored into symbol: "y" {21 ,0,0,0,0,(Shift_tbl*)&S21st_Ckm_1,0,0,0,0}; struct S22std_Ckm_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S22std_Ckm_1 S22st_Ckm_1 = { 3 , {// start of table {128,(State*)&S19_Ckm_1} // shift sym: raw_x ,{571,(State*)&S23_Ckm_1} // shift sym: Ra ,{572,(State*)&S24_Ckm_1} // shift sym: Rb }// end of shift table }; yacco2::State S22_Ckm_1 = //State's vectored into symbol: "z" {22 ,0,0,0,0,(Shift_tbl*)&S22st_Ckm_1,0,0,0,0}; struct S23rtd_Ckm_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S23rtd_Ckm_1 S23rt_Ckm_1 = { 1 , {// start of table {(Set_tbl*)&LA3_Ckm_1,Ckm_1::rhs1_Ra_} }// end of reduce table }; yacco2::State S23_Ckm_1 = //State's vectored into symbol: "Ra" {23 ,0,0,0,0,0,(Reduce_tbl*)&S23rt_Ckm_1,0,0,0}; struct S24rtd_Ckm_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S24rtd_Ckm_1 S24rt_Ckm_1 = { 1 , {// start of table {(Set_tbl*)&LA2_Ckm_1,Ckm_1::rhs1_Rb_} }// end of reduce table }; yacco2::State S24_Ckm_1 = //State's vectored into symbol: "Rb" {24 ,0,0,0,0,0,(Reduce_tbl*)&S24rt_Ckm_1,0,0,0};