/* File: testout_err_hdlrtbl.cpp Date and Time: Sat Jan 31 11:59:00 2015 */ #include "testout_err_hdlr.h" using namespace NS_testout_T_enum;// enumerate using namespace NS_testout_err_symbols;// error symbols using namespace NS_yacco2_k_symbols;// lrk using namespace NS_testout_terminals;// terminals using namespace NS_yacco2_characters;// rc using namespace yacco2;// yacco2 library using namespace NS_testout_err_hdlr;// grammar's ns // first set terminals // LR1_eolr yacco2::UCHAR LA1_Ctestout_err_hdlr[] ={ 1 ,0,4 }; // LR1_eog // LR1_all_shift_operator // Err_no_filename // Err_bad_filename yacco2::UCHAR LA2_Ctestout_err_hdlr[] ={ 2 ,0,66 ,33,12 }; extern yacco2::State S1_Ctestout_err_hdlr; extern yacco2::State S2_Ctestout_err_hdlr; extern yacco2::State S3_Ctestout_err_hdlr; extern yacco2::State S4_Ctestout_err_hdlr; extern yacco2::State S5_Ctestout_err_hdlr; extern yacco2::State S6_Ctestout_err_hdlr; extern yacco2::State S7_Ctestout_err_hdlr; extern yacco2::State S8_Ctestout_err_hdlr; extern yacco2::State S9_Ctestout_err_hdlr; struct S1std_Ctestout_err_hdlr{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[7]; }; S1std_Ctestout_err_hdlr S1st_Ctestout_err_hdlr = { 7 , {// start of table {1,(State*)&S2_Ctestout_err_hdlr} // shift sym: LR1_eog ,{6,(State*)&S3_Ctestout_err_hdlr} // shift sym: LR1_all_shift_operator ,{266,(State*)&S4_Ctestout_err_hdlr} // shift sym: Err_no_filename ,{267,(State*)&S5_Ctestout_err_hdlr} // shift sym: Err_bad_filename ,{269,(State*)&S1_Ctestout_err_hdlr} // accept sym: Rtestout_err_hdlr ,{270,(State*)&S6_Ctestout_err_hdlr} // shift sym: Rerrors ,{271,(State*)&S9_Ctestout_err_hdlr} // shift sym: Rerror }// end of shift table }; yacco2::Shift_entry S1ase_Ctestout_err_hdlr = {6,(State*)&S3_Ctestout_err_hdlr}; yacco2::State S1_Ctestout_err_hdlr = //State's vectored into symbol: " No symbol" {1 ,0,(Shift_entry*)&S1ase_Ctestout_err_hdlr ,0,0,(Shift_tbl*)&S1st_Ctestout_err_hdlr,0,0,0,0}; struct S2rtd_Ctestout_err_hdlr{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Ctestout_err_hdlr S2rt_Ctestout_err_hdlr = { 1 , {// start of table {(Set_tbl*)&LA1_Ctestout_err_hdlr,Ctestout_err_hdlr::rhs2_Rtestout_err_hdlr_} }// end of reduce table }; yacco2::State S2_Ctestout_err_hdlr = //State's vectored into symbol: "eog" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_Ctestout_err_hdlr,0,0,0}; struct S3rtd_Ctestout_err_hdlr{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S3rtd_Ctestout_err_hdlr S3rt_Ctestout_err_hdlr = { 1 , {// start of table {(Set_tbl*)&LA2_Ctestout_err_hdlr,Ctestout_err_hdlr::rhs3_Rerror_} }// end of reduce table }; yacco2::State S3_Ctestout_err_hdlr = //State's vectored into symbol: "|+|" {3 ,0,0,0,0,0,(Reduce_tbl*)&S3rt_Ctestout_err_hdlr,0,0,0}; struct S4rtd_Ctestout_err_hdlr{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Ctestout_err_hdlr S4rt_Ctestout_err_hdlr = { 1 , {// start of table {(Set_tbl*)&LA2_Ctestout_err_hdlr,Ctestout_err_hdlr::rhs1_Rerror_} }// end of reduce table }; yacco2::State S4_Ctestout_err_hdlr = //State's vectored into symbol: "no filename" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Ctestout_err_hdlr,0,0,0}; struct S5rtd_Ctestout_err_hdlr{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Ctestout_err_hdlr S5rt_Ctestout_err_hdlr = { 1 , {// start of table {(Set_tbl*)&LA2_Ctestout_err_hdlr,Ctestout_err_hdlr::rhs2_Rerror_} }// end of reduce table }; yacco2::State S5_Ctestout_err_hdlr = //State's vectored into symbol: "bad filename" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Ctestout_err_hdlr,0,0,0}; struct S6std_Ctestout_err_hdlr{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[5]; }; S6std_Ctestout_err_hdlr S6st_Ctestout_err_hdlr = { 5 , {// start of table {1,(State*)&S7_Ctestout_err_hdlr} // shift sym: LR1_eog ,{6,(State*)&S3_Ctestout_err_hdlr} // shift sym: LR1_all_shift_operator ,{266,(State*)&S4_Ctestout_err_hdlr} // shift sym: Err_no_filename ,{267,(State*)&S5_Ctestout_err_hdlr} // shift sym: Err_bad_filename ,{271,(State*)&S8_Ctestout_err_hdlr} // shift sym: Rerror }// end of shift table }; yacco2::Shift_entry S6ase_Ctestout_err_hdlr = {6,(State*)&S3_Ctestout_err_hdlr}; yacco2::State S6_Ctestout_err_hdlr = //State's vectored into symbol: "Rerrors" {6 ,0,(Shift_entry*)&S6ase_Ctestout_err_hdlr ,0,0,(Shift_tbl*)&S6st_Ctestout_err_hdlr,0,0,0,0}; struct S7rtd_Ctestout_err_hdlr{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S7rtd_Ctestout_err_hdlr S7rt_Ctestout_err_hdlr = { 1 , {// start of table {(Set_tbl*)&LA1_Ctestout_err_hdlr,Ctestout_err_hdlr::rhs1_Rtestout_err_hdlr_} }// end of reduce table }; yacco2::State S7_Ctestout_err_hdlr = //State's vectored into symbol: "eog" {7 ,0,0,0,0,0,(Reduce_tbl*)&S7rt_Ctestout_err_hdlr,0,0,0}; struct S8rtd_Ctestout_err_hdlr{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S8rtd_Ctestout_err_hdlr S8rt_Ctestout_err_hdlr = { 1 , {// start of table {(Set_tbl*)&LA2_Ctestout_err_hdlr,Ctestout_err_hdlr::rhs2_Rerrors_} }// end of reduce table }; yacco2::State S8_Ctestout_err_hdlr = //State's vectored into symbol: "Rerror" {8 ,0,0,0,0,0,(Reduce_tbl*)&S8rt_Ctestout_err_hdlr,0,0,0}; struct S9rtd_Ctestout_err_hdlr{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S9rtd_Ctestout_err_hdlr S9rt_Ctestout_err_hdlr = { 1 , {// start of table {(Set_tbl*)&LA2_Ctestout_err_hdlr,Ctestout_err_hdlr::rhs1_Rerrors_} }// end of reduce table }; yacco2::State S9_Ctestout_err_hdlr = //State's vectored into symbol: "Rerror" {9 ,0,0,0,0,0,(Reduce_tbl*)&S9rt_Ctestout_err_hdlr,0,0,0};