/* File: o2_lcl_opttbl.cpp Date and Time: Fri Jan 30 18:55:16 2015 */ #include "o2_lcl_opt.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_o2_lcl_opt;// grammar's ns // first set terminals // LR1_questionable_shift_operator // raw_e // raw_l // raw_p // raw_r // raw_t yacco2::UCHAR LA1_Co2_lcl_opt[] ={ 4 ,0,1 ,13,32 ,14,16 ,15,21 }; // LR1_eolr yacco2::UCHAR LA2_Co2_lcl_opt[] ={ 1 ,0,4 }; // LR1_all_shift_operator // raw_ht // raw_sp yacco2::UCHAR LA3_Co2_lcl_opt[] ={ 3 ,0,64 ,2,2 ,5,1 }; extern yacco2::State S1_Co2_lcl_opt; extern yacco2::State S2_Co2_lcl_opt; extern yacco2::State S3_Co2_lcl_opt; extern yacco2::State S4_Co2_lcl_opt; extern yacco2::State S5_Co2_lcl_opt; extern yacco2::State S6_Co2_lcl_opt; extern yacco2::State S7_Co2_lcl_opt; extern yacco2::State S8_Co2_lcl_opt; extern yacco2::State S9_Co2_lcl_opt; extern yacco2::State S10_Co2_lcl_opt; extern yacco2::State S11_Co2_lcl_opt; extern yacco2::State S12_Co2_lcl_opt; extern yacco2::State S13_Co2_lcl_opt; extern yacco2::State S14_Co2_lcl_opt; extern yacco2::State S15_Co2_lcl_opt; extern yacco2::State S16_Co2_lcl_opt; extern yacco2::State S17_Co2_lcl_opt; extern yacco2::State S18_Co2_lcl_opt; extern yacco2::State S19_Co2_lcl_opt; struct S1std_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S1std_Co2_lcl_opt S1st_Co2_lcl_opt = { 3 , {// start of table {53,(State*)&S2_Co2_lcl_opt} // shift sym: raw_minus ,{569,(State*)&S1_Co2_lcl_opt} // accept sym: Ro2_lcl_opt ,{570,(State*)&S3_Co2_lcl_opt} // shift sym: Rminus }// end of shift table }; yacco2::State S1_Co2_lcl_opt = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Co2_lcl_opt,0,0,0,0}; struct S2rtd_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Co2_lcl_opt S2rt_Co2_lcl_opt = { 1 , {// start of table {(Set_tbl*)&LA1_Co2_lcl_opt,Co2_lcl_opt::rhs1_Rminus_} }// end of reduce table }; yacco2::State S2_Co2_lcl_opt = //State's vectored into symbol: "-" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_Co2_lcl_opt,0,0,0}; struct S3std_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[7]; }; S3std_Co2_lcl_opt S3st_Co2_lcl_opt = { 7 , {// start of table {0,(State*)&S9_Co2_lcl_opt} // shift sym: LR1_questionable_shift_operator ,{109,(State*)&S10_Co2_lcl_opt} // shift sym: raw_e ,{116,(State*)&S13_Co2_lcl_opt} // shift sym: raw_l ,{120,(State*)&S16_Co2_lcl_opt} // shift sym: raw_p ,{122,(State*)&S17_Co2_lcl_opt} // shift sym: raw_r ,{124,(State*)&S19_Co2_lcl_opt} // shift sym: raw_t ,{571,(State*)&S4_Co2_lcl_opt} // shift sym: Rspec_parm }// end of shift table }; yacco2::Shift_entry S3qse_Co2_lcl_opt = {0,(State*)&S9_Co2_lcl_opt}; yacco2::State S3_Co2_lcl_opt = //State's vectored into symbol: "Rminus" {3 ,0,0,0,0,(Shift_tbl*)&S3st_Co2_lcl_opt,0,0,0,(Shift_entry*)&S3qse_Co2_lcl_opt }; struct S4std_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S4std_Co2_lcl_opt S4st_Co2_lcl_opt = { 4 , {// start of table {6,(State*)&S5_Co2_lcl_opt} // shift sym: LR1_all_shift_operator ,{17,(State*)&S6_Co2_lcl_opt} // shift sym: raw_ht ,{40,(State*)&S7_Co2_lcl_opt} // shift sym: raw_sp ,{572,(State*)&S8_Co2_lcl_opt} // shift sym: Rmust_lint }// end of shift table }; yacco2::Shift_entry S4ase_Co2_lcl_opt = {6,(State*)&S5_Co2_lcl_opt}; yacco2::State S4_Co2_lcl_opt = //State's vectored into symbol: "Rspec_parm" {4 ,0,(Shift_entry*)&S4ase_Co2_lcl_opt ,0,0,(Shift_tbl*)&S4st_Co2_lcl_opt,0,0,0,0}; struct S5rtd_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Co2_lcl_opt S5rt_Co2_lcl_opt = { 1 , {// start of table {(Set_tbl*)&LA2_Co2_lcl_opt,Co2_lcl_opt::rhs3_Rmust_lint_} }// end of reduce table }; yacco2::State S5_Co2_lcl_opt = //State's vectored into symbol: "|+|" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Co2_lcl_opt,0,0,0}; struct S6rtd_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Co2_lcl_opt S6rt_Co2_lcl_opt = { 1 , {// start of table {(Set_tbl*)&LA2_Co2_lcl_opt,Co2_lcl_opt::rhs1_Rmust_lint_} }// end of reduce table }; yacco2::State S6_Co2_lcl_opt = //State's vectored into symbol: "x09" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Co2_lcl_opt,0,0,0}; struct S7rtd_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S7rtd_Co2_lcl_opt S7rt_Co2_lcl_opt = { 1 , {// start of table {(Set_tbl*)&LA2_Co2_lcl_opt,Co2_lcl_opt::rhs2_Rmust_lint_} }// end of reduce table }; yacco2::State S7_Co2_lcl_opt = //State's vectored into symbol: " " {7 ,0,0,0,0,0,(Reduce_tbl*)&S7rt_Co2_lcl_opt,0,0,0}; struct S8rtd_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S8rtd_Co2_lcl_opt S8rt_Co2_lcl_opt = { 1 , {// start of table {(Set_tbl*)&LA2_Co2_lcl_opt,Co2_lcl_opt::rhs1_Ro2_lcl_opt_} }// end of reduce table }; yacco2::State S8_Co2_lcl_opt = //State's vectored into symbol: "Rmust_lint" {8 ,0,0,0,0,0,(Reduce_tbl*)&S8rt_Co2_lcl_opt,0,0,0}; struct S9rtd_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S9rtd_Co2_lcl_opt S9rt_Co2_lcl_opt = { 1 , {// start of table {(Set_tbl*)&LA3_Co2_lcl_opt,Co2_lcl_opt::rhs6_Rspec_parm_} }// end of reduce table }; yacco2::State S9_Co2_lcl_opt = //State's vectored into symbol: "|?|" {9 ,0,0,0,0,0,(Reduce_tbl*)&S9rt_Co2_lcl_opt,0,0,0}; struct S10std_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S10std_Co2_lcl_opt S10st_Co2_lcl_opt = { 1 , {// start of table {122,(State*)&S11_Co2_lcl_opt} // shift sym: raw_r }// end of shift table }; yacco2::State S10_Co2_lcl_opt = //State's vectored into symbol: "e" {10 ,0,0,0,0,(Shift_tbl*)&S10st_Co2_lcl_opt,0,0,0,0}; struct S11std_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S11std_Co2_lcl_opt S11st_Co2_lcl_opt = { 1 , {// start of table {122,(State*)&S12_Co2_lcl_opt} // shift sym: raw_r }// end of shift table }; yacco2::State S11_Co2_lcl_opt = //State's vectored into symbol: "r" {11 ,0,0,0,0,(Shift_tbl*)&S11st_Co2_lcl_opt,0,0,0,0}; struct S12rtd_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S12rtd_Co2_lcl_opt S12rt_Co2_lcl_opt = { 1 , {// start of table {(Set_tbl*)&LA3_Co2_lcl_opt,Co2_lcl_opt::rhs4_Rspec_parm_} }// end of reduce table }; yacco2::State S12_Co2_lcl_opt = //State's vectored into symbol: "r" {12 ,0,0,0,0,0,(Reduce_tbl*)&S12rt_Co2_lcl_opt,0,0,0}; struct S13std_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S13std_Co2_lcl_opt S13st_Co2_lcl_opt = { 1 , {// start of table {122,(State*)&S14_Co2_lcl_opt} // shift sym: raw_r }// end of shift table }; yacco2::State S13_Co2_lcl_opt = //State's vectored into symbol: "l" {13 ,0,0,0,0,(Shift_tbl*)&S13st_Co2_lcl_opt,0,0,0,0}; struct S14std_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S14std_Co2_lcl_opt S14st_Co2_lcl_opt = { 1 , {// start of table {115,(State*)&S15_Co2_lcl_opt} // shift sym: raw_k }// end of shift table }; yacco2::State S14_Co2_lcl_opt = //State's vectored into symbol: "r" {14 ,0,0,0,0,(Shift_tbl*)&S14st_Co2_lcl_opt,0,0,0,0}; struct S15rtd_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S15rtd_Co2_lcl_opt S15rt_Co2_lcl_opt = { 1 , {// start of table {(Set_tbl*)&LA3_Co2_lcl_opt,Co2_lcl_opt::rhs5_Rspec_parm_} }// end of reduce table }; yacco2::State S15_Co2_lcl_opt = //State's vectored into symbol: "k" {15 ,0,0,0,0,0,(Reduce_tbl*)&S15rt_Co2_lcl_opt,0,0,0}; struct S16rtd_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S16rtd_Co2_lcl_opt S16rt_Co2_lcl_opt = { 1 , {// start of table {(Set_tbl*)&LA3_Co2_lcl_opt,Co2_lcl_opt::rhs2_Rspec_parm_} }// end of reduce table }; yacco2::State S16_Co2_lcl_opt = //State's vectored into symbol: "p" {16 ,0,0,0,0,0,(Reduce_tbl*)&S16rt_Co2_lcl_opt,0,0,0}; struct S17std_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S17std_Co2_lcl_opt S17st_Co2_lcl_opt = { 1 , {// start of table {107,(State*)&S18_Co2_lcl_opt} // shift sym: raw_c }// end of shift table }; yacco2::State S17_Co2_lcl_opt = //State's vectored into symbol: "r" {17 ,0,0,0,0,(Shift_tbl*)&S17st_Co2_lcl_opt,0,0,0,0}; struct S18rtd_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S18rtd_Co2_lcl_opt S18rt_Co2_lcl_opt = { 1 , {// start of table {(Set_tbl*)&LA3_Co2_lcl_opt,Co2_lcl_opt::rhs3_Rspec_parm_} }// end of reduce table }; yacco2::State S18_Co2_lcl_opt = //State's vectored into symbol: "c" {18 ,0,0,0,0,0,(Reduce_tbl*)&S18rt_Co2_lcl_opt,0,0,0}; struct S19rtd_Co2_lcl_opt{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S19rtd_Co2_lcl_opt S19rt_Co2_lcl_opt = { 1 , {// start of table {(Set_tbl*)&LA3_Co2_lcl_opt,Co2_lcl_opt::rhs1_Rspec_parm_} }// end of reduce table }; yacco2::State S19_Co2_lcl_opt = //State's vectored into symbol: "t" {19 ,0,0,0,0,0,(Reduce_tbl*)&S19rt_Co2_lcl_opt,0,0,0};