/* File: wstbl.cpp Date and Time: Fri Jan 30 18:55:28 2015 */ #include "ws.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_ws;// grammar's ns // first set terminals // LR1_invisible_shift_operator yacco2::UCHAR LA1_Cws[] ={ 1 ,0,32 }; // LR1_eolr yacco2::UCHAR LA2_Cws[] ={ 1 ,0,4 }; extern yacco2::State S1_Cws; extern yacco2::State S2_Cws; extern yacco2::State S3_Cws; extern yacco2::State S4_Cws; extern yacco2::State S5_Cws; extern yacco2::State S6_Cws; extern yacco2::State S7_Cws; struct S1std_Cws{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[6]; }; S1std_Cws S1st_Cws = { 6 , {// start of table {17,(State*)&S2_Cws} // shift sym: raw_ht ,{19,(State*)&S3_Cws} // shift sym: raw_vt ,{20,(State*)&S4_Cws} // shift sym: raw_ff ,{40,(State*)&S5_Cws} // shift sym: raw_sp ,{569,(State*)&S1_Cws} // accept sym: Rws ,{570,(State*)&S6_Cws} // shift sym: Rchr }// end of shift table }; yacco2::State S1_Cws = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Cws,0,0,0,0}; struct S2rtd_Cws{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Cws S2rt_Cws = { 1 , {// start of table {(Set_tbl*)&LA1_Cws,Cws::rhs2_Rchr_} }// end of reduce table }; yacco2::State S2_Cws = //State's vectored into symbol: "x09" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_Cws,0,0,0}; struct S3rtd_Cws{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S3rtd_Cws S3rt_Cws = { 1 , {// start of table {(Set_tbl*)&LA1_Cws,Cws::rhs3_Rchr_} }// end of reduce table }; yacco2::State S3_Cws = //State's vectored into symbol: "x0b" {3 ,0,0,0,0,0,(Reduce_tbl*)&S3rt_Cws,0,0,0}; struct S4rtd_Cws{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Cws S4rt_Cws = { 1 , {// start of table {(Set_tbl*)&LA1_Cws,Cws::rhs4_Rchr_} }// end of reduce table }; yacco2::State S4_Cws = //State's vectored into symbol: "x0c" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Cws,0,0,0}; struct S5rtd_Cws{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Cws S5rt_Cws = { 1 , {// start of table {(Set_tbl*)&LA1_Cws,Cws::rhs1_Rchr_} }// end of reduce table }; yacco2::State S5_Cws = //State's vectored into symbol: " " {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Cws,0,0,0}; struct S6std_Cws{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S6std_Cws S6st_Cws = { 1 , {// start of table {5,(State*)&S7_Cws} // shift sym: LR1_invisible_shift_operator }// end of shift table }; yacco2::Shift_entry S6ise_Cws = {5,(State*)&S7_Cws}; yacco2::State S6_Cws = //State's vectored into symbol: "Rchr" {6 ,0,0,(Shift_entry*)&S6ise_Cws ,0,(Shift_tbl*)&S6st_Cws,0,0,0,0}; struct S7rtd_Cws{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S7rtd_Cws S7rt_Cws = { 1 , {// start of table {(Set_tbl*)&LA2_Cws,Cws::rhs1_Rws_} }// end of reduce table }; yacco2::State S7_Cws = //State's vectored into symbol: "|.|" {7 ,0,0,0,0,0,(Reduce_tbl*)&S7rt_Cws,0,0,0};