/* File: unq_strtbl.cpp Date and Time: Fri Jan 30 18:55:27 2015 */ #include "unq_str.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_unq_str;// grammar's ns // first set terminals // LR1_eolr yacco2::UCHAR LA1_Cunq_str[] ={ 1 ,0,4 }; extern yacco2::State S1_Cunq_str; extern yacco2::State S2_Cunq_str; extern yacco2::State S3_Cunq_str; extern yacco2::State S4_Cunq_str; extern yacco2::State S5_Cunq_str; struct S1std_Cunq_str{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S1std_Cunq_str S1st_Cunq_str = { 4 , {// start of table {6,(State*)&S2_Cunq_str} // shift sym: LR1_all_shift_operator ,{569,(State*)&S1_Cunq_str} // accept sym: Runq_str ,{570,(State*)&S3_Cunq_str} // shift sym: Rchr ,{571,(State*)&S5_Cunq_str} // shift sym: Rall_shift }// end of shift table }; yacco2::Shift_entry S1ase_Cunq_str = {6,(State*)&S2_Cunq_str}; yacco2::State S1_Cunq_str = //State's vectored into symbol: " No symbol" {1 ,0,(Shift_entry*)&S1ase_Cunq_str ,0,0,(Shift_tbl*)&S1st_Cunq_str,0,0,0,0}; struct S2rtd_Cunq_str{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Cunq_str S2rt_Cunq_str = { 1 , {// start of table {(Set_tbl*)&LA1_Cunq_str,Cunq_str::rhs1_Rall_shift_} }// end of reduce table }; yacco2::State S2_Cunq_str = //State's vectored into symbol: "|+|" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_Cunq_str,0,0,0}; struct S3std_Cunq_str{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S3std_Cunq_str S3st_Cunq_str = { 2 , {// start of table {6,(State*)&S2_Cunq_str} // shift sym: LR1_all_shift_operator ,{571,(State*)&S4_Cunq_str} // shift sym: Rall_shift }// end of shift table }; yacco2::Shift_entry S3ase_Cunq_str = {6,(State*)&S2_Cunq_str}; struct S3rtd_Cunq_str{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S3rtd_Cunq_str S3rt_Cunq_str = { 1 , {// start of table {(Set_tbl*)&LA1_Cunq_str,Cunq_str::rhs1_Runq_str_} }// end of reduce table }; yacco2::State S3_Cunq_str = //State's vectored into symbol: "Rchr" {3 ,0,(Shift_entry*)&S3ase_Cunq_str ,0,0,(Shift_tbl*)&S3st_Cunq_str,(Reduce_tbl*)&S3rt_Cunq_str,0,0,0}; struct S4rtd_Cunq_str{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Cunq_str S4rt_Cunq_str = { 1 , {// start of table {(Set_tbl*)&LA1_Cunq_str,Cunq_str::rhs2_Rchr_} }// end of reduce table }; yacco2::State S4_Cunq_str = //State's vectored into symbol: "Rall_shift" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Cunq_str,0,0,0}; struct S5rtd_Cunq_str{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Cunq_str S5rt_Cunq_str = { 1 , {// start of table {(Set_tbl*)&LA1_Cunq_str,Cunq_str::rhs1_Rchr_} }// end of reduce table }; yacco2::State S5_Cunq_str = //State's vectored into symbol: "Rall_shift" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Cunq_str,0,0,0};