/* File: cweave_lhs_sdctbl.cpp Date and Time: Fri Jan 30 18:55:07 2015 */ #include "cweave_lhs_sdc.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_cweave_lhs_sdc;// grammar's ns // first set terminals // LR1_eog // T_arbitrator_code // T_user_declaration // T_constructor // T_destructor // T_op // T_user_implementation yacco2::UCHAR LA1_Ccweave_lhs_sdc[] ={ 4 ,0,2 ,36,1 ,38,144 ,39,11 }; // LR1_eolr yacco2::UCHAR LA2_Ccweave_lhs_sdc[] ={ 1 ,0,4 }; extern yacco2::State S1_Ccweave_lhs_sdc; extern yacco2::State S2_Ccweave_lhs_sdc; extern yacco2::State S3_Ccweave_lhs_sdc; extern yacco2::State S4_Ccweave_lhs_sdc; extern yacco2::State S5_Ccweave_lhs_sdc; extern yacco2::State S6_Ccweave_lhs_sdc; extern yacco2::State S7_Ccweave_lhs_sdc; extern yacco2::State S8_Ccweave_lhs_sdc; extern yacco2::State S9_Ccweave_lhs_sdc; extern yacco2::State S10_Ccweave_lhs_sdc; extern yacco2::State S11_Ccweave_lhs_sdc; struct S1std_Ccweave_lhs_sdc{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[9]; }; S1std_Ccweave_lhs_sdc S1st_Ccweave_lhs_sdc = { 9 , {// start of table {288,(State*)&S2_Ccweave_lhs_sdc} // shift sym: T_arbitrator_code ,{308,(State*)&S3_Ccweave_lhs_sdc} // shift sym: T_user_declaration ,{311,(State*)&S4_Ccweave_lhs_sdc} // shift sym: T_constructor ,{312,(State*)&S5_Ccweave_lhs_sdc} // shift sym: T_destructor ,{313,(State*)&S6_Ccweave_lhs_sdc} // shift sym: T_op ,{315,(State*)&S7_Ccweave_lhs_sdc} // shift sym: T_user_implementation ,{569,(State*)&S1_Ccweave_lhs_sdc} // accept sym: Rweave_sdc ,{570,(State*)&S8_Ccweave_lhs_sdc} // shift sym: Rdirectives ,{571,(State*)&S11_Ccweave_lhs_sdc} // shift sym: Rdirective }// end of shift table }; yacco2::State S1_Ccweave_lhs_sdc = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Ccweave_lhs_sdc,0,0,0,0}; struct S2rtd_Ccweave_lhs_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Ccweave_lhs_sdc S2rt_Ccweave_lhs_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_lhs_sdc,Ccweave_lhs_sdc::rhs1_Rdirective_} }// end of reduce table }; yacco2::State S2_Ccweave_lhs_sdc = //State's vectored into symbol: "#arbitrator-code" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_Ccweave_lhs_sdc,0,0,0}; struct S3rtd_Ccweave_lhs_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S3rtd_Ccweave_lhs_sdc S3rt_Ccweave_lhs_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_lhs_sdc,Ccweave_lhs_sdc::rhs2_Rdirective_} }// end of reduce table }; yacco2::State S3_Ccweave_lhs_sdc = //State's vectored into symbol: "#user-declaration" {3 ,0,0,0,0,0,(Reduce_tbl*)&S3rt_Ccweave_lhs_sdc,0,0,0}; struct S4rtd_Ccweave_lhs_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Ccweave_lhs_sdc S4rt_Ccweave_lhs_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_lhs_sdc,Ccweave_lhs_sdc::rhs4_Rdirective_} }// end of reduce table }; yacco2::State S4_Ccweave_lhs_sdc = //State's vectored into symbol: "#constructor" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Ccweave_lhs_sdc,0,0,0}; struct S5rtd_Ccweave_lhs_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Ccweave_lhs_sdc S5rt_Ccweave_lhs_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_lhs_sdc,Ccweave_lhs_sdc::rhs5_Rdirective_} }// end of reduce table }; yacco2::State S5_Ccweave_lhs_sdc = //State's vectored into symbol: "#destructor" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Ccweave_lhs_sdc,0,0,0}; struct S6rtd_Ccweave_lhs_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Ccweave_lhs_sdc S6rt_Ccweave_lhs_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_lhs_sdc,Ccweave_lhs_sdc::rhs6_Rdirective_} }// end of reduce table }; yacco2::State S6_Ccweave_lhs_sdc = //State's vectored into symbol: "#op" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Ccweave_lhs_sdc,0,0,0}; struct S7rtd_Ccweave_lhs_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S7rtd_Ccweave_lhs_sdc S7rt_Ccweave_lhs_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_lhs_sdc,Ccweave_lhs_sdc::rhs3_Rdirective_} }// end of reduce table }; yacco2::State S7_Ccweave_lhs_sdc = //State's vectored into symbol: "#user-implementation" {7 ,0,0,0,0,0,(Reduce_tbl*)&S7rt_Ccweave_lhs_sdc,0,0,0}; struct S8std_Ccweave_lhs_sdc{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[8]; }; S8std_Ccweave_lhs_sdc S8st_Ccweave_lhs_sdc = { 8 , {// start of table {1,(State*)&S9_Ccweave_lhs_sdc} // shift sym: LR1_eog ,{288,(State*)&S2_Ccweave_lhs_sdc} // shift sym: T_arbitrator_code ,{308,(State*)&S3_Ccweave_lhs_sdc} // shift sym: T_user_declaration ,{311,(State*)&S4_Ccweave_lhs_sdc} // shift sym: T_constructor ,{312,(State*)&S5_Ccweave_lhs_sdc} // shift sym: T_destructor ,{313,(State*)&S6_Ccweave_lhs_sdc} // shift sym: T_op ,{315,(State*)&S7_Ccweave_lhs_sdc} // shift sym: T_user_implementation ,{571,(State*)&S10_Ccweave_lhs_sdc} // shift sym: Rdirective }// end of shift table }; yacco2::State S8_Ccweave_lhs_sdc = //State's vectored into symbol: "Rdirectives" {8 ,0,0,0,0,(Shift_tbl*)&S8st_Ccweave_lhs_sdc,0,0,0,0}; struct S9rtd_Ccweave_lhs_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S9rtd_Ccweave_lhs_sdc S9rt_Ccweave_lhs_sdc = { 1 , {// start of table {(Set_tbl*)&LA2_Ccweave_lhs_sdc,Ccweave_lhs_sdc::rhs1_Rweave_sdc_} }// end of reduce table }; yacco2::State S9_Ccweave_lhs_sdc = //State's vectored into symbol: "eog" {9 ,0,0,0,0,0,(Reduce_tbl*)&S9rt_Ccweave_lhs_sdc,0,0,0}; struct S10rtd_Ccweave_lhs_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S10rtd_Ccweave_lhs_sdc S10rt_Ccweave_lhs_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_lhs_sdc,Ccweave_lhs_sdc::rhs2_Rdirectives_} }// end of reduce table }; yacco2::State S10_Ccweave_lhs_sdc = //State's vectored into symbol: "Rdirective" {10 ,0,0,0,0,0,(Reduce_tbl*)&S10rt_Ccweave_lhs_sdc,0,0,0}; struct S11rtd_Ccweave_lhs_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S11rtd_Ccweave_lhs_sdc S11rt_Ccweave_lhs_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_lhs_sdc,Ccweave_lhs_sdc::rhs1_Rdirectives_} }// end of reduce table }; yacco2::State S11_Ccweave_lhs_sdc = //State's vectored into symbol: "Rdirective" {11 ,0,0,0,0,0,(Reduce_tbl*)&S11rt_Ccweave_lhs_sdc,0,0,0};