/* File: cweave_T_sdctbl.cpp Date and Time: Fri Jan 30 18:55:08 2015 */ #include "cweave_T_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_T_sdc;// grammar's ns // first set terminals // LR1_eog // T_user_declaration // T_constructor // T_destructor // T_op // T_user_implementation yacco2::UCHAR LA1_Ccweave_T_sdc[] ={ 3 ,0,2 ,38,144 ,39,11 }; // LR1_eolr yacco2::UCHAR LA2_Ccweave_T_sdc[] ={ 1 ,0,4 }; extern yacco2::State S1_Ccweave_T_sdc; extern yacco2::State S2_Ccweave_T_sdc; extern yacco2::State S3_Ccweave_T_sdc; extern yacco2::State S4_Ccweave_T_sdc; extern yacco2::State S5_Ccweave_T_sdc; extern yacco2::State S6_Ccweave_T_sdc; extern yacco2::State S7_Ccweave_T_sdc; extern yacco2::State S8_Ccweave_T_sdc; extern yacco2::State S9_Ccweave_T_sdc; extern yacco2::State S10_Ccweave_T_sdc; struct S1std_Ccweave_T_sdc{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[8]; }; S1std_Ccweave_T_sdc S1st_Ccweave_T_sdc = { 8 , {// start of table {308,(State*)&S2_Ccweave_T_sdc} // shift sym: T_user_declaration ,{311,(State*)&S3_Ccweave_T_sdc} // shift sym: T_constructor ,{312,(State*)&S4_Ccweave_T_sdc} // shift sym: T_destructor ,{313,(State*)&S5_Ccweave_T_sdc} // shift sym: T_op ,{315,(State*)&S6_Ccweave_T_sdc} // shift sym: T_user_implementation ,{569,(State*)&S1_Ccweave_T_sdc} // accept sym: Rweave_sdc ,{570,(State*)&S7_Ccweave_T_sdc} // shift sym: Rdirectives ,{571,(State*)&S10_Ccweave_T_sdc} // shift sym: Rdirective }// end of shift table }; yacco2::State S1_Ccweave_T_sdc = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Ccweave_T_sdc,0,0,0,0}; struct S2rtd_Ccweave_T_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Ccweave_T_sdc S2rt_Ccweave_T_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_T_sdc,Ccweave_T_sdc::rhs1_Rdirective_} }// end of reduce table }; yacco2::State S2_Ccweave_T_sdc = //State's vectored into symbol: "#user-declaration" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_Ccweave_T_sdc,0,0,0}; struct S3rtd_Ccweave_T_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S3rtd_Ccweave_T_sdc S3rt_Ccweave_T_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_T_sdc,Ccweave_T_sdc::rhs2_Rdirective_} }// end of reduce table }; yacco2::State S3_Ccweave_T_sdc = //State's vectored into symbol: "#constructor" {3 ,0,0,0,0,0,(Reduce_tbl*)&S3rt_Ccweave_T_sdc,0,0,0}; struct S4rtd_Ccweave_T_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Ccweave_T_sdc S4rt_Ccweave_T_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_T_sdc,Ccweave_T_sdc::rhs3_Rdirective_} }// end of reduce table }; yacco2::State S4_Ccweave_T_sdc = //State's vectored into symbol: "#destructor" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Ccweave_T_sdc,0,0,0}; struct S5rtd_Ccweave_T_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Ccweave_T_sdc S5rt_Ccweave_T_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_T_sdc,Ccweave_T_sdc::rhs4_Rdirective_} }// end of reduce table }; yacco2::State S5_Ccweave_T_sdc = //State's vectored into symbol: "#op" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Ccweave_T_sdc,0,0,0}; struct S6rtd_Ccweave_T_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Ccweave_T_sdc S6rt_Ccweave_T_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_T_sdc,Ccweave_T_sdc::rhs5_Rdirective_} }// end of reduce table }; yacco2::State S6_Ccweave_T_sdc = //State's vectored into symbol: "#user-implementation" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Ccweave_T_sdc,0,0,0}; struct S7std_Ccweave_T_sdc{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[7]; }; S7std_Ccweave_T_sdc S7st_Ccweave_T_sdc = { 7 , {// start of table {1,(State*)&S8_Ccweave_T_sdc} // shift sym: LR1_eog ,{308,(State*)&S2_Ccweave_T_sdc} // shift sym: T_user_declaration ,{311,(State*)&S3_Ccweave_T_sdc} // shift sym: T_constructor ,{312,(State*)&S4_Ccweave_T_sdc} // shift sym: T_destructor ,{313,(State*)&S5_Ccweave_T_sdc} // shift sym: T_op ,{315,(State*)&S6_Ccweave_T_sdc} // shift sym: T_user_implementation ,{571,(State*)&S9_Ccweave_T_sdc} // shift sym: Rdirective }// end of shift table }; yacco2::State S7_Ccweave_T_sdc = //State's vectored into symbol: "Rdirectives" {7 ,0,0,0,0,(Shift_tbl*)&S7st_Ccweave_T_sdc,0,0,0,0}; struct S8rtd_Ccweave_T_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S8rtd_Ccweave_T_sdc S8rt_Ccweave_T_sdc = { 1 , {// start of table {(Set_tbl*)&LA2_Ccweave_T_sdc,Ccweave_T_sdc::rhs1_Rweave_sdc_} }// end of reduce table }; yacco2::State S8_Ccweave_T_sdc = //State's vectored into symbol: "eog" {8 ,0,0,0,0,0,(Reduce_tbl*)&S8rt_Ccweave_T_sdc,0,0,0}; struct S9rtd_Ccweave_T_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S9rtd_Ccweave_T_sdc S9rt_Ccweave_T_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_T_sdc,Ccweave_T_sdc::rhs2_Rdirectives_} }// end of reduce table }; yacco2::State S9_Ccweave_T_sdc = //State's vectored into symbol: "Rdirective" {9 ,0,0,0,0,0,(Reduce_tbl*)&S9rt_Ccweave_T_sdc,0,0,0}; struct S10rtd_Ccweave_T_sdc{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S10rtd_Ccweave_T_sdc S10rt_Ccweave_T_sdc = { 1 , {// start of table {(Set_tbl*)&LA1_Ccweave_T_sdc,Ccweave_T_sdc::rhs1_Rdirectives_} }// end of reduce table }; yacco2::State S10_Ccweave_T_sdc = //State's vectored into symbol: "Rdirective" {10 ,0,0,0,0,0,(Reduce_tbl*)&S10rt_Ccweave_T_sdc,0,0,0};