/* File: sp_1tbl.cpp Date and Time: Sat Jan 31 11:58:53 2015 */ #include "sp_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_sp_1;// grammar's ns // first set terminals // raw_b yacco2::UCHAR LA1_Csp_1[] ={ 1 ,13,4 }; // raw_c yacco2::UCHAR LA2_Csp_1[] ={ 1 ,13,8 }; // LR1_eolr yacco2::UCHAR LA3_Csp_1[] ={ 1 ,0,4 }; // LR1_eog yacco2::UCHAR LA4_Csp_1[] ={ 1 ,0,2 }; extern yacco2::State S1_Csp_1; extern yacco2::State S2_Csp_1; extern yacco2::State S3_Csp_1; extern yacco2::State S4_Csp_1; extern yacco2::State S5_Csp_1; extern yacco2::State S6_Csp_1; extern yacco2::State S7_Csp_1; extern yacco2::State S8_Csp_1; extern yacco2::State S9_Csp_1; extern yacco2::State S10_Csp_1; extern yacco2::State S11_Csp_1; extern yacco2::State S12_Csp_1; extern yacco2::State S13_Csp_1; extern yacco2::State S14_Csp_1; extern yacco2::State S15_Csp_1; extern yacco2::State S16_Csp_1; extern yacco2::State S17_Csp_1; struct S1std_Csp_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[5]; }; S1std_Csp_1 S1st_Csp_1 = { 5 , {// start of table {105,(State*)&S2_Csp_1} // shift sym: raw_a ,{569,(State*)&S1_Csp_1} // accept sym: Rmm ,{570,(State*)&S7_Csp_1} // shift sym: Rs ,{571,(State*)&S9_Csp_1} // shift sym: Ra ,{572,(State*)&S11_Csp_1} // shift sym: Rb }// end of shift table }; yacco2::State S1_Csp_1 = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Csp_1,0,0,0,0}; struct S2std_Csp_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S2std_Csp_1 S2st_Csp_1 = { 3 , {// start of table {105,(State*)&S13_Csp_1} // shift sym: raw_a ,{571,(State*)&S3_Csp_1} // shift sym: Ra ,{572,(State*)&S5_Csp_1} // shift sym: Rb }// end of shift table }; struct S2rtd_Csp_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[2]; }; S2rtd_Csp_1 S2rt_Csp_1 = { 2 , {// start of table {(Set_tbl*)&LA1_Csp_1,Csp_1::rhs2_Ra_} ,{(Set_tbl*)&LA2_Csp_1,Csp_1::rhs2_Rb_} }// end of reduce table }; yacco2::State S2_Csp_1 = //State's vectored into symbol: "a" {2 ,0,0,0,0,(Shift_tbl*)&S2st_Csp_1,(Reduce_tbl*)&S2rt_Csp_1,0,0,0}; struct S3std_Csp_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S3std_Csp_1 S3st_Csp_1 = { 1 , {// start of table {107,(State*)&S4_Csp_1} // shift sym: raw_c }// end of shift table }; yacco2::State S3_Csp_1 = //State's vectored into symbol: "Ra" {3 ,0,0,0,0,(Shift_tbl*)&S3st_Csp_1,0,0,0,0}; struct S4rtd_Csp_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Csp_1 S4rt_Csp_1 = { 1 , {// start of table {(Set_tbl*)&LA1_Csp_1,Csp_1::rhs1_Ra_} }// end of reduce table }; yacco2::State S4_Csp_1 = //State's vectored into symbol: "c" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Csp_1,0,0,0}; struct S5std_Csp_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S5std_Csp_1 S5st_Csp_1 = { 1 , {// start of table {106,(State*)&S6_Csp_1} // shift sym: raw_b }// end of shift table }; yacco2::State S5_Csp_1 = //State's vectored into symbol: "Rb" {5 ,0,0,0,0,(Shift_tbl*)&S5st_Csp_1,0,0,0,0}; struct S6rtd_Csp_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Csp_1 S6rt_Csp_1 = { 1 , {// start of table {(Set_tbl*)&LA2_Csp_1,Csp_1::rhs1_Rb_} }// end of reduce table }; yacco2::State S6_Csp_1 = //State's vectored into symbol: "b" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Csp_1,0,0,0}; struct S7std_Csp_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S7std_Csp_1 S7st_Csp_1 = { 1 , {// start of table {1,(State*)&S8_Csp_1} // shift sym: LR1_eog }// end of shift table }; yacco2::State S7_Csp_1 = //State's vectored into symbol: "Rs" {7 ,0,0,0,0,(Shift_tbl*)&S7st_Csp_1,0,0,0,0}; struct S8rtd_Csp_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S8rtd_Csp_1 S8rt_Csp_1 = { 1 , {// start of table {(Set_tbl*)&LA3_Csp_1,Csp_1::rhs1_Rmm_} }// end of reduce table }; yacco2::State S8_Csp_1 = //State's vectored into symbol: "eog" {8 ,0,0,0,0,0,(Reduce_tbl*)&S8rt_Csp_1,0,0,0}; struct S9std_Csp_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S9std_Csp_1 S9st_Csp_1 = { 1 , {// start of table {106,(State*)&S10_Csp_1} // shift sym: raw_b }// end of shift table }; yacco2::State S9_Csp_1 = //State's vectored into symbol: "Ra" {9 ,0,0,0,0,(Shift_tbl*)&S9st_Csp_1,0,0,0,0}; struct S10rtd_Csp_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S10rtd_Csp_1 S10rt_Csp_1 = { 1 , {// start of table {(Set_tbl*)&LA4_Csp_1,Csp_1::rhs1_Rs_} }// end of reduce table }; yacco2::State S10_Csp_1 = //State's vectored into symbol: "b" {10 ,0,0,0,0,0,(Reduce_tbl*)&S10rt_Csp_1,0,0,0}; struct S11std_Csp_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S11std_Csp_1 S11st_Csp_1 = { 1 , {// start of table {107,(State*)&S12_Csp_1} // shift sym: raw_c }// end of shift table }; yacco2::State S11_Csp_1 = //State's vectored into symbol: "Rb" {11 ,0,0,0,0,(Shift_tbl*)&S11st_Csp_1,0,0,0,0}; struct S12rtd_Csp_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S12rtd_Csp_1 S12rt_Csp_1 = { 1 , {// start of table {(Set_tbl*)&LA4_Csp_1,Csp_1::rhs2_Rs_} }// end of reduce table }; yacco2::State S12_Csp_1 = //State's vectored into symbol: "c" {12 ,0,0,0,0,0,(Reduce_tbl*)&S12rt_Csp_1,0,0,0}; struct S13std_Csp_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S13std_Csp_1 S13st_Csp_1 = { 3 , {// start of table {105,(State*)&S13_Csp_1} // shift sym: raw_a ,{571,(State*)&S14_Csp_1} // shift sym: Ra ,{572,(State*)&S16_Csp_1} // shift sym: Rb }// end of shift table }; struct S13rtd_Csp_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[2]; }; S13rtd_Csp_1 S13rt_Csp_1 = { 2 , {// start of table {(Set_tbl*)&LA2_Csp_1,Csp_1::rhs2_Ra_} ,{(Set_tbl*)&LA1_Csp_1,Csp_1::rhs2_Rb_} }// end of reduce table }; yacco2::State S13_Csp_1 = //State's vectored into symbol: "a" {13 ,0,0,0,0,(Shift_tbl*)&S13st_Csp_1,(Reduce_tbl*)&S13rt_Csp_1,0,0,0}; struct S14std_Csp_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S14std_Csp_1 S14st_Csp_1 = { 1 , {// start of table {107,(State*)&S15_Csp_1} // shift sym: raw_c }// end of shift table }; yacco2::State S14_Csp_1 = //State's vectored into symbol: "Ra" {14 ,0,0,0,0,(Shift_tbl*)&S14st_Csp_1,0,0,0,0}; struct S15rtd_Csp_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S15rtd_Csp_1 S15rt_Csp_1 = { 1 , {// start of table {(Set_tbl*)&LA2_Csp_1,Csp_1::rhs1_Ra_} }// end of reduce table }; yacco2::State S15_Csp_1 = //State's vectored into symbol: "c" {15 ,0,0,0,0,0,(Reduce_tbl*)&S15rt_Csp_1,0,0,0}; struct S16std_Csp_1{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S16std_Csp_1 S16st_Csp_1 = { 1 , {// start of table {106,(State*)&S17_Csp_1} // shift sym: raw_b }// end of shift table }; yacco2::State S16_Csp_1 = //State's vectored into symbol: "Rb" {16 ,0,0,0,0,(Shift_tbl*)&S16st_Csp_1,0,0,0,0}; struct S17rtd_Csp_1{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S17rtd_Csp_1 S17rt_Csp_1 = { 1 , {// start of table {(Set_tbl*)&LA1_Csp_1,Csp_1::rhs1_Rb_} }// end of reduce table }; yacco2::State S17_Csp_1 = //State's vectored into symbol: "b" {17 ,0,0,0,0,0,(Reduce_tbl*)&S17rt_Csp_1,0,0,0};