/* File: lalr1_dp2tbl.cpp Date and Time: Mon Oct 13 18:18:14 2014 */ #include "lalr1_dp2.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_lalr1_dp2;// grammar's ns // first set terminals // raw_d // raw_g yacco2::UCHAR LA1_Clalr1_dp2[] ={ 1 ,13,144 }; // LR1_eog yacco2::UCHAR LA2_Clalr1_dp2[] ={ 1 ,0,2 }; // raw_g yacco2::UCHAR LA3_Clalr1_dp2[] ={ 1 ,13,128 }; // LR1_eolr yacco2::UCHAR LA4_Clalr1_dp2[] ={ 1 ,0,4 }; extern yacco2::State S1_Clalr1_dp2; extern yacco2::State S2_Clalr1_dp2; extern yacco2::State S3_Clalr1_dp2; extern yacco2::State S4_Clalr1_dp2; extern yacco2::State S5_Clalr1_dp2; extern yacco2::State S6_Clalr1_dp2; extern yacco2::State S7_Clalr1_dp2; extern yacco2::State S8_Clalr1_dp2; extern yacco2::State S9_Clalr1_dp2; extern yacco2::State S10_Clalr1_dp2; extern yacco2::State S11_Clalr1_dp2; extern yacco2::State S12_Clalr1_dp2; extern yacco2::State S13_Clalr1_dp2; struct S1std_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[5]; }; S1std_Clalr1_dp2 S1st_Clalr1_dp2 = { 5 , {// start of table {105,(State*)&S2_Clalr1_dp2} // shift sym: raw_a ,{107,(State*)&S5_Clalr1_dp2} // shift sym: raw_c ,{569,(State*)&S1_Clalr1_dp2} // accept sym: Rlalr1_dp2 ,{570,(State*)&S7_Clalr1_dp2} // shift sym: RS1 ,{572,(State*)&S9_Clalr1_dp2} // shift sym: RC }// end of shift table }; yacco2::State S1_Clalr1_dp2 = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Clalr1_dp2,0,0,0,0}; struct S2std_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S2std_Clalr1_dp2 S2st_Clalr1_dp2 = { 2 , {// start of table {571,(State*)&S3_Clalr1_dp2} // shift sym: RB ,{573,(State*)&S12_Clalr1_dp2} // shift sym: RD }// end of shift table }; struct S2rtd_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Clalr1_dp2 S2rt_Clalr1_dp2 = { 1 , {// start of table {(Set_tbl*)&LA1_Clalr1_dp2,Clalr1_dp2::rhs1_RD_} }// end of reduce table }; yacco2::State S2_Clalr1_dp2 = //State's vectored into symbol: "a" {2 ,0,0,0,0,(Shift_tbl*)&S2st_Clalr1_dp2,(Reduce_tbl*)&S2rt_Clalr1_dp2,0,0,0}; struct S3std_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S3std_Clalr1_dp2 S3st_Clalr1_dp2 = { 1 , {// start of table {108,(State*)&S4_Clalr1_dp2} // shift sym: raw_d }// end of shift table }; yacco2::State S3_Clalr1_dp2 = //State's vectored into symbol: "RB" {3 ,0,0,0,0,(Shift_tbl*)&S3st_Clalr1_dp2,0,0,0,0}; struct S4rtd_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Clalr1_dp2 S4rt_Clalr1_dp2 = { 1 , {// start of table {(Set_tbl*)&LA2_Clalr1_dp2,Clalr1_dp2::rhs2_RS1_} }// end of reduce table }; yacco2::State S4_Clalr1_dp2 = //State's vectored into symbol: "d" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Clalr1_dp2,0,0,0}; struct S5std_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S5std_Clalr1_dp2 S5st_Clalr1_dp2 = { 1 , {// start of table {108,(State*)&S6_Clalr1_dp2} // shift sym: raw_d }// end of shift table }; struct S5rtd_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Clalr1_dp2 S5rt_Clalr1_dp2 = { 1 , {// start of table {(Set_tbl*)&LA3_Clalr1_dp2,Clalr1_dp2::rhs1_RC_} }// end of reduce table }; yacco2::State S5_Clalr1_dp2 = //State's vectored into symbol: "c" {5 ,0,0,0,0,(Shift_tbl*)&S5st_Clalr1_dp2,(Reduce_tbl*)&S5rt_Clalr1_dp2,0,0,0}; struct S6rtd_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Clalr1_dp2 S6rt_Clalr1_dp2 = { 1 , {// start of table {(Set_tbl*)&LA2_Clalr1_dp2,Clalr1_dp2::rhs1_RS1_} }// end of reduce table }; yacco2::State S6_Clalr1_dp2 = //State's vectored into symbol: "d" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Clalr1_dp2,0,0,0}; struct S7std_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S7std_Clalr1_dp2 S7st_Clalr1_dp2 = { 1 , {// start of table {1,(State*)&S8_Clalr1_dp2} // shift sym: LR1_eog }// end of shift table }; yacco2::State S7_Clalr1_dp2 = //State's vectored into symbol: "RS1" {7 ,0,0,0,0,(Shift_tbl*)&S7st_Clalr1_dp2,0,0,0,0}; struct S8rtd_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S8rtd_Clalr1_dp2 S8rt_Clalr1_dp2 = { 1 , {// start of table {(Set_tbl*)&LA4_Clalr1_dp2,Clalr1_dp2::rhs1_Rlalr1_dp2_} }// end of reduce table }; yacco2::State S8_Clalr1_dp2 = //State's vectored into symbol: "eog" {8 ,0,0,0,0,0,(Reduce_tbl*)&S8rt_Clalr1_dp2,0,0,0}; struct S9std_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S9std_Clalr1_dp2 S9st_Clalr1_dp2 = { 2 , {// start of table {571,(State*)&S10_Clalr1_dp2} // shift sym: RB ,{573,(State*)&S12_Clalr1_dp2} // shift sym: RD }// end of shift table }; struct S9rtd_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S9rtd_Clalr1_dp2 S9rt_Clalr1_dp2 = { 1 , {// start of table {(Set_tbl*)&LA3_Clalr1_dp2,Clalr1_dp2::rhs1_RD_} }// end of reduce table }; yacco2::State S9_Clalr1_dp2 = //State's vectored into symbol: "RC" {9 ,0,0,0,0,(Shift_tbl*)&S9st_Clalr1_dp2,(Reduce_tbl*)&S9rt_Clalr1_dp2,0,0,0}; struct S10std_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S10std_Clalr1_dp2 S10st_Clalr1_dp2 = { 1 , {// start of table {111,(State*)&S11_Clalr1_dp2} // shift sym: raw_g }// end of shift table }; yacco2::State S10_Clalr1_dp2 = //State's vectored into symbol: "RB" {10 ,0,0,0,0,(Shift_tbl*)&S10st_Clalr1_dp2,0,0,0,0}; struct S11rtd_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S11rtd_Clalr1_dp2 S11rt_Clalr1_dp2 = { 1 , {// start of table {(Set_tbl*)&LA2_Clalr1_dp2,Clalr1_dp2::rhs3_RS1_} }// end of reduce table }; yacco2::State S11_Clalr1_dp2 = //State's vectored into symbol: "g" {11 ,0,0,0,0,0,(Reduce_tbl*)&S11rt_Clalr1_dp2,0,0,0}; struct S12std_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S12std_Clalr1_dp2 S12st_Clalr1_dp2 = { 1 , {// start of table {574,(State*)&S13_Clalr1_dp2} // shift sym: RE }// end of shift table }; struct S12rtd_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S12rtd_Clalr1_dp2 S12rt_Clalr1_dp2 = { 1 , {// start of table {(Set_tbl*)&LA1_Clalr1_dp2,Clalr1_dp2::rhs1_RE_} }// end of reduce table }; yacco2::State S12_Clalr1_dp2 = //State's vectored into symbol: "RD" {12 ,0,0,0,0,(Shift_tbl*)&S12st_Clalr1_dp2,(Reduce_tbl*)&S12rt_Clalr1_dp2,0,0,0}; struct S13rtd_Clalr1_dp2{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S13rtd_Clalr1_dp2 S13rt_Clalr1_dp2 = { 1 , {// start of table {(Set_tbl*)&LA1_Clalr1_dp2,Clalr1_dp2::rhs1_RB_} }// end of reduce table }; yacco2::State S13_Clalr1_dp2 = //State's vectored into symbol: "RE" {13 ,0,0,0,0,0,(Reduce_tbl*)&S13rt_Clalr1_dp2,0,0,0};