/* File: c_commentstbl.cpp Date and Time: Fri Jan 30 18:55:05 2015 */ #include "c_comments.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_c_comments;// grammar's ns // first set terminals // LR1_invisible_shift_operator yacco2::UCHAR LA1_Cc_comments[] ={ 1 ,0,32 }; // LR1_eolr yacco2::UCHAR LA2_Cc_comments[] ={ 1 ,0,4 }; extern yacco2::State S1_Cc_comments; extern yacco2::State S2_Cc_comments; extern yacco2::State S3_Cc_comments; extern yacco2::State S4_Cc_comments; extern yacco2::State S5_Cc_comments; extern yacco2::State S6_Cc_comments; extern yacco2::State S7_Cc_comments; extern yacco2::State S8_Cc_comments; struct S1std_Cc_comments{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S1std_Cc_comments S1st_Cc_comments = { 4 , {// start of table {55,(State*)&S2_Cc_comments} // shift sym: raw_slash ,{569,(State*)&S1_Cc_comments} // accept sym: Rc_comments ,{570,(State*)&S5_Cc_comments} // shift sym: Rslash_asterisk ,{571,(State*)&S7_Cc_comments} // shift sym: R2slash }// end of shift table }; yacco2::State S1_Cc_comments = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Cc_comments,0,0,0,0}; struct S2std_Cc_comments{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S2std_Cc_comments S2st_Cc_comments = { 2 , {// start of table {50,(State*)&S3_Cc_comments} // shift sym: raw_asteric ,{55,(State*)&S4_Cc_comments} // shift sym: raw_slash }// end of shift table }; yacco2::State S2_Cc_comments = //State's vectored into symbol: "/" {2 ,0,0,0,0,(Shift_tbl*)&S2st_Cc_comments,0,0,0,0}; struct S3rtd_Cc_comments{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S3rtd_Cc_comments S3rt_Cc_comments = { 1 , {// start of table {(Set_tbl*)&LA1_Cc_comments,Cc_comments::rhs1_Rslash_asterisk_} }// end of reduce table }; yacco2::State S3_Cc_comments = //State's vectored into symbol: "*" {3 ,0,0,0,0,0,(Reduce_tbl*)&S3rt_Cc_comments,0,0,0}; struct S4rtd_Cc_comments{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Cc_comments S4rt_Cc_comments = { 1 , {// start of table {(Set_tbl*)&LA1_Cc_comments,Cc_comments::rhs1_R2slash_} }// end of reduce table }; yacco2::State S4_Cc_comments = //State's vectored into symbol: "/" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Cc_comments,0,0,0}; struct S5std_Cc_comments{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S5std_Cc_comments S5st_Cc_comments = { 1 , {// start of table {5,(State*)&S6_Cc_comments} // shift sym: LR1_invisible_shift_operator }// end of shift table }; yacco2::Shift_entry S5ise_Cc_comments = {5,(State*)&S6_Cc_comments}; yacco2::State S5_Cc_comments = //State's vectored into symbol: "Rslash_asterisk" {5 ,0,0,(Shift_entry*)&S5ise_Cc_comments ,0,(Shift_tbl*)&S5st_Cc_comments,0,0,0,0}; struct S6rtd_Cc_comments{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Cc_comments S6rt_Cc_comments = { 1 , {// start of table {(Set_tbl*)&LA2_Cc_comments,Cc_comments::rhs1_Rc_comments_} }// end of reduce table }; yacco2::State S6_Cc_comments = //State's vectored into symbol: "|.|" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Cc_comments,0,0,0}; struct S7std_Cc_comments{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S7std_Cc_comments S7st_Cc_comments = { 1 , {// start of table {5,(State*)&S8_Cc_comments} // shift sym: LR1_invisible_shift_operator }// end of shift table }; yacco2::Shift_entry S7ise_Cc_comments = {5,(State*)&S8_Cc_comments}; yacco2::State S7_Cc_comments = //State's vectored into symbol: "R2slash" {7 ,0,0,(Shift_entry*)&S7ise_Cc_comments ,0,(Shift_tbl*)&S7st_Cc_comments,0,0,0,0}; struct S8rtd_Cc_comments{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S8rtd_Cc_comments S8rt_Cc_comments = { 1 , {// start of table {(Set_tbl*)&LA2_Cc_comments,Cc_comments::rhs2_Rc_comments_} }// end of reduce table }; yacco2::State S8_Cc_comments = //State's vectored into symbol: "|.|" {8 ,0,0,0,0,0,(Reduce_tbl*)&S8rt_Cc_comments,0,0,0};