/* File: cweave_fsm_sdctbl.cpp Date and Time: Fri Jan 30 18:55:07 2015 */ #include "cweave_fsm_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_fsm_sdc;// grammar's ns // first set terminals // LR1_eog // T_user_declaration // T_user_prefix_declaration // T_user_suffix_declaration // T_constructor // T_destructor // T_op // T_failed // T_user_implementation // T_user_imp_tbl // T_user_imp_sym yacco2::UCHAR LA1_Ccweave_fsm_sdc[] ={ 3 ,0,2 ,38,240 ,39,63 }; // LR1_eolr yacco2::UCHAR LA2_Ccweave_fsm_sdc[] ={ 1 ,0,4 }; extern yacco2::State S1_Ccweave_fsm_sdc; extern yacco2::State S2_Ccweave_fsm_sdc; extern yacco2::State S3_Ccweave_fsm_sdc; extern yacco2::State S4_Ccweave_fsm_sdc; extern yacco2::State S5_Ccweave_fsm_sdc; extern yacco2::State S6_Ccweave_fsm_sdc; extern yacco2::State S7_Ccweave_fsm_sdc; extern yacco2::State S8_Ccweave_fsm_sdc; extern yacco2::State S9_Ccweave_fsm_sdc; extern yacco2::State S10_Ccweave_fsm_sdc; extern yacco2::State S11_Ccweave_fsm_sdc; extern yacco2::State S12_Ccweave_fsm_sdc; extern yacco2::State S13_Ccweave_fsm_sdc; extern yacco2::State S14_Ccweave_fsm_sdc; extern yacco2::State S15_Ccweave_fsm_sdc; struct S1std_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[13]; }; S1std_Ccweave_fsm_sdc S1st_Ccweave_fsm_sdc = { 13 , {// start of table {308,(State*)&S2_Ccweave_fsm_sdc} // shift sym: T_user_declaration ,{309,(State*)&S3_Ccweave_fsm_sdc} // shift sym: T_user_prefix_declaration ,{310,(State*)&S4_Ccweave_fsm_sdc} // shift sym: T_user_suffix_declaration ,{311,(State*)&S5_Ccweave_fsm_sdc} // shift sym: T_constructor ,{312,(State*)&S6_Ccweave_fsm_sdc} // shift sym: T_destructor ,{313,(State*)&S7_Ccweave_fsm_sdc} // shift sym: T_op ,{314,(State*)&S8_Ccweave_fsm_sdc} // shift sym: T_failed ,{315,(State*)&S9_Ccweave_fsm_sdc} // shift sym: T_user_implementation ,{316,(State*)&S10_Ccweave_fsm_sdc} // shift sym: T_user_imp_tbl ,{317,(State*)&S11_Ccweave_fsm_sdc} // shift sym: T_user_imp_sym ,{569,(State*)&S1_Ccweave_fsm_sdc} // accept sym: Rweave_fsm_sdc ,{570,(State*)&S12_Ccweave_fsm_sdc} // shift sym: Rdirectives ,{571,(State*)&S15_Ccweave_fsm_sdc} // shift sym: Rdirective }// end of shift table }; yacco2::State S1_Ccweave_fsm_sdc = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Ccweave_fsm_sdc,0,0,0,0}; struct S2rtd_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Ccweave_fsm_sdc S2rt_Ccweave_fsm_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_fsm_sdc,Ccweave_fsm_sdc::rhs1_Rdirective_} }// end of reduce table }; yacco2::State S2_Ccweave_fsm_sdc = //State's vectored into symbol: "#user-declaration" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_Ccweave_fsm_sdc,0,0,0}; struct S3rtd_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S3rtd_Ccweave_fsm_sdc S3rt_Ccweave_fsm_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_fsm_sdc,Ccweave_fsm_sdc::rhs2_Rdirective_} }// end of reduce table }; yacco2::State S3_Ccweave_fsm_sdc = //State's vectored into symbol: "#user-prefix-declaration" {3 ,0,0,0,0,0,(Reduce_tbl*)&S3rt_Ccweave_fsm_sdc,0,0,0}; struct S4rtd_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Ccweave_fsm_sdc S4rt_Ccweave_fsm_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_fsm_sdc,Ccweave_fsm_sdc::rhs3_Rdirective_} }// end of reduce table }; yacco2::State S4_Ccweave_fsm_sdc = //State's vectored into symbol: "#user-suffix-declaration" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Ccweave_fsm_sdc,0,0,0}; struct S5rtd_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Ccweave_fsm_sdc S5rt_Ccweave_fsm_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_fsm_sdc,Ccweave_fsm_sdc::rhs4_Rdirective_} }// end of reduce table }; yacco2::State S5_Ccweave_fsm_sdc = //State's vectored into symbol: "#constructor" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Ccweave_fsm_sdc,0,0,0}; struct S6rtd_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Ccweave_fsm_sdc S6rt_Ccweave_fsm_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_fsm_sdc,Ccweave_fsm_sdc::rhs5_Rdirective_} }// end of reduce table }; yacco2::State S6_Ccweave_fsm_sdc = //State's vectored into symbol: "#destructor" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Ccweave_fsm_sdc,0,0,0}; struct S7rtd_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S7rtd_Ccweave_fsm_sdc S7rt_Ccweave_fsm_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_fsm_sdc,Ccweave_fsm_sdc::rhs6_Rdirective_} }// end of reduce table }; yacco2::State S7_Ccweave_fsm_sdc = //State's vectored into symbol: "#op" {7 ,0,0,0,0,0,(Reduce_tbl*)&S7rt_Ccweave_fsm_sdc,0,0,0}; struct S8rtd_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S8rtd_Ccweave_fsm_sdc S8rt_Ccweave_fsm_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_fsm_sdc,Ccweave_fsm_sdc::rhs7_Rdirective_} }// end of reduce table }; yacco2::State S8_Ccweave_fsm_sdc = //State's vectored into symbol: "#failed" {8 ,0,0,0,0,0,(Reduce_tbl*)&S8rt_Ccweave_fsm_sdc,0,0,0}; struct S9rtd_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S9rtd_Ccweave_fsm_sdc S9rt_Ccweave_fsm_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_fsm_sdc,Ccweave_fsm_sdc::rhs8_Rdirective_} }// end of reduce table }; yacco2::State S9_Ccweave_fsm_sdc = //State's vectored into symbol: "#user-implementation" {9 ,0,0,0,0,0,(Reduce_tbl*)&S9rt_Ccweave_fsm_sdc,0,0,0}; struct S10rtd_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S10rtd_Ccweave_fsm_sdc S10rt_Ccweave_fsm_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_fsm_sdc,Ccweave_fsm_sdc::rhs9_Rdirective_} }// end of reduce table }; yacco2::State S10_Ccweave_fsm_sdc = //State's vectored into symbol: "#user-imp-tbl" {10 ,0,0,0,0,0,(Reduce_tbl*)&S10rt_Ccweave_fsm_sdc,0,0,0}; struct S11rtd_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S11rtd_Ccweave_fsm_sdc S11rt_Ccweave_fsm_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_fsm_sdc,Ccweave_fsm_sdc::rhs10_Rdirective_} }// end of reduce table }; yacco2::State S11_Ccweave_fsm_sdc = //State's vectored into symbol: "#user-imp-sym" {11 ,0,0,0,0,0,(Reduce_tbl*)&S11rt_Ccweave_fsm_sdc,0,0,0}; struct S12std_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[12]; }; S12std_Ccweave_fsm_sdc S12st_Ccweave_fsm_sdc = { 12 , {// start of table {1,(State*)&S13_Ccweave_fsm_sdc} // shift sym: LR1_eog ,{308,(State*)&S2_Ccweave_fsm_sdc} // shift sym: T_user_declaration ,{309,(State*)&S3_Ccweave_fsm_sdc} // shift sym: T_user_prefix_declaration ,{310,(State*)&S4_Ccweave_fsm_sdc} // shift sym: T_user_suffix_declaration ,{311,(State*)&S5_Ccweave_fsm_sdc} // shift sym: T_constructor ,{312,(State*)&S6_Ccweave_fsm_sdc} // shift sym: T_destructor ,{313,(State*)&S7_Ccweave_fsm_sdc} // shift sym: T_op ,{314,(State*)&S8_Ccweave_fsm_sdc} // shift sym: T_failed ,{315,(State*)&S9_Ccweave_fsm_sdc} // shift sym: T_user_implementation ,{316,(State*)&S10_Ccweave_fsm_sdc} // shift sym: T_user_imp_tbl ,{317,(State*)&S11_Ccweave_fsm_sdc} // shift sym: T_user_imp_sym ,{571,(State*)&S14_Ccweave_fsm_sdc} // shift sym: Rdirective }// end of shift table }; yacco2::State S12_Ccweave_fsm_sdc = //State's vectored into symbol: "Rdirectives" {12 ,0,0,0,0,(Shift_tbl*)&S12st_Ccweave_fsm_sdc,0,0,0,0}; struct S13rtd_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S13rtd_Ccweave_fsm_sdc S13rt_Ccweave_fsm_sdc = { 1 , {// start of table {(Set_tbl*)&LA2_Ccweave_fsm_sdc,Ccweave_fsm_sdc::rhs1_Rweave_fsm_sdc_} }// end of reduce table }; yacco2::State S13_Ccweave_fsm_sdc = //State's vectored into symbol: "eog" {13 ,0,0,0,0,0,(Reduce_tbl*)&S13rt_Ccweave_fsm_sdc,0,0,0}; struct S14rtd_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S14rtd_Ccweave_fsm_sdc S14rt_Ccweave_fsm_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_fsm_sdc,Ccweave_fsm_sdc::rhs2_Rdirectives_} }// end of reduce table }; yacco2::State S14_Ccweave_fsm_sdc = //State's vectored into symbol: "Rdirective" {14 ,0,0,0,0,0,(Reduce_tbl*)&S14rt_Ccweave_fsm_sdc,0,0,0}; struct S15rtd_Ccweave_fsm_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S15rtd_Ccweave_fsm_sdc S15rt_Ccweave_fsm_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_fsm_sdc,Ccweave_fsm_sdc::rhs1_Rdirectives_} }// end of reduce table }; yacco2::State S15_Ccweave_fsm_sdc = //State's vectored into symbol: "Rdirective" {15 ,0,0,0,0,0,(Reduce_tbl*)&S15rt_Ccweave_fsm_sdc,0,0,0};