/* File: subrule_vectortbl.cpp Date and Time: Fri Jan 30 18:55:24 2015 */ #include "subrule_vector.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_subrule_vector;// grammar's ns // first set terminals // LR1_eolr yacco2::UCHAR LA1_Csubrule_vector[] ={ 1 ,0,4 }; extern yacco2::State S1_Csubrule_vector; extern yacco2::State S2_Csubrule_vector; extern yacco2::State S3_Csubrule_vector; struct S1std_Csubrule_vector{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S1std_Csubrule_vector S1st_Csubrule_vector = { 2 , {// start of table {53,(State*)&S2_Csubrule_vector} // shift sym: raw_minus ,{569,(State*)&S1_Csubrule_vector} // accept sym: Rsubrule_vector }// end of shift table }; yacco2::State S1_Csubrule_vector = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Csubrule_vector,0,0,0,0}; struct S2std_Csubrule_vector{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S2std_Csubrule_vector S2st_Csubrule_vector = { 1 , {// start of table {70,(State*)&S3_Csubrule_vector} // shift sym: raw_gt_than }// end of shift table }; yacco2::State S2_Csubrule_vector = //State's vectored into symbol: "-" {2 ,0,0,0,0,(Shift_tbl*)&S2st_Csubrule_vector,0,0,0,0}; struct S3rtd_Csubrule_vector{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S3rtd_Csubrule_vector S3rt_Csubrule_vector = { 1 , {// start of table {(Set_tbl*)&LA1_Csubrule_vector,Csubrule_vector::rhs1_Rsubrule_vector_} }// end of reduce table }; yacco2::State S3_Csubrule_vector = //State's vectored into symbol: ">" {3 ,0,0,0,0,0,(Reduce_tbl*)&S3rt_Csubrule_vector,0,0,0};