/* File: eoltbl.cpp Date and Time: Fri Jan 30 18:55:09 2015 */ #include "eol.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_eol;// grammar's ns // first set terminals // LR1_eolr yacco2::UCHAR LA1_Ceol[] ={ 1 ,0,4 }; extern yacco2::State S1_Ceol; extern yacco2::State S2_Ceol; extern yacco2::State S3_Ceol; extern yacco2::State S4_Ceol; extern yacco2::State S5_Ceol; extern yacco2::State S6_Ceol; struct S1std_Ceol{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S1std_Ceol S1st_Ceol = { 4 , {// start of table {18,(State*)&S2_Ceol} // shift sym: raw_lf ,{21,(State*)&S3_Ceol} // shift sym: raw_cr ,{569,(State*)&S1_Ceol} // accept sym: Reol ,{570,(State*)&S6_Ceol} // shift sym: Rdelimiters }// end of shift table }; yacco2::State S1_Ceol = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Ceol,0,0,0,0}; struct S2rtd_Ceol{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Ceol S2rt_Ceol = { 1 , {// start of table {(Set_tbl*)&LA1_Ceol,Ceol::rhs1_Rdelimiters_} }// end of reduce table }; yacco2::State S2_Ceol = //State's vectored into symbol: "x0a" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_Ceol,0,0,0}; struct S3std_Ceol{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S3std_Ceol S3st_Ceol = { 2 , {// start of table {5,(State*)&S4_Ceol} // shift sym: LR1_invisible_shift_operator ,{18,(State*)&S5_Ceol} // shift sym: raw_lf }// end of shift table }; yacco2::Shift_entry S3ise_Ceol = {5,(State*)&S4_Ceol}; yacco2::State S3_Ceol = //State's vectored into symbol: "x0d" {3 ,0,0,(Shift_entry*)&S3ise_Ceol ,0,(Shift_tbl*)&S3st_Ceol,0,0,0,0}; struct S4rtd_Ceol{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Ceol S4rt_Ceol = { 1 , {// start of table {(Set_tbl*)&LA1_Ceol,Ceol::rhs2_Rdelimiters_} }// end of reduce table }; yacco2::State S4_Ceol = //State's vectored into symbol: "|.|" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Ceol,0,0,0}; struct S5rtd_Ceol{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Ceol S5rt_Ceol = { 1 , {// start of table {(Set_tbl*)&LA1_Ceol,Ceol::rhs3_Rdelimiters_} }// end of reduce table }; yacco2::State S5_Ceol = //State's vectored into symbol: "x0a" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Ceol,0,0,0}; struct S6rtd_Ceol{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Ceol S6rt_Ceol = { 1 , {// start of table {(Set_tbl*)&LA1_Ceol,Ceol::rhs1_Reol_} }// end of reduce table }; yacco2::State S6_Ceol = //State's vectored into symbol: "Rdelimiters" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Ceol,0,0,0};