/* File: la_expr_lexicaltbl.cpp Date and Time: Fri Jan 30 18:55:13 2015 */ #include "la_expr_lexical.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_la_expr_lexical;// grammar's ns // first set terminals // LR1_eog // LR1_all_shift_operator // raw_plus // raw_minus // T_c_literal // T_c_string // T_identifier yacco2::UCHAR LA1_Cla_expr_lexical[] ={ 3 ,0,66 ,6,40 ,34,140 }; // LR1_eolr yacco2::UCHAR LA2_Cla_expr_lexical[] ={ 1 ,0,4 }; extern yacco2::State S1_Cla_expr_lexical; extern yacco2::State S2_Cla_expr_lexical; extern yacco2::State S3_Cla_expr_lexical; extern yacco2::State S4_Cla_expr_lexical; extern yacco2::State S5_Cla_expr_lexical; extern yacco2::State S6_Cla_expr_lexical; extern yacco2::State S7_Cla_expr_lexical; extern yacco2::State S8_Cla_expr_lexical; extern yacco2::State S9_Cla_expr_lexical; extern yacco2::State S10_Cla_expr_lexical; extern yacco2::State S11_Cla_expr_lexical; struct S1std_Cla_expr_lexical{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[9]; }; S1std_Cla_expr_lexical S1st_Cla_expr_lexical = { 9 , {// start of table {6,(State*)&S2_Cla_expr_lexical} // shift sym: LR1_all_shift_operator ,{51,(State*)&S3_Cla_expr_lexical} // shift sym: raw_plus ,{53,(State*)&S4_Cla_expr_lexical} // shift sym: raw_minus ,{274,(State*)&S5_Cla_expr_lexical} // shift sym: T_c_literal ,{275,(State*)&S6_Cla_expr_lexical} // shift sym: T_c_string ,{279,(State*)&S7_Cla_expr_lexical} // shift sym: T_identifier ,{569,(State*)&S1_Cla_expr_lexical} // accept sym: Rstripper ,{570,(State*)&S8_Cla_expr_lexical} // shift sym: Rtoks ,{571,(State*)&S11_Cla_expr_lexical} // shift sym: Rtok }// end of shift table }; yacco2::Shift_entry S1ase_Cla_expr_lexical = {6,(State*)&S2_Cla_expr_lexical}; yacco2::State S1_Cla_expr_lexical = //State's vectored into symbol: " No symbol" {1 ,0,(Shift_entry*)&S1ase_Cla_expr_lexical ,0,0,(Shift_tbl*)&S1st_Cla_expr_lexical,0,0,0,0}; struct S2rtd_Cla_expr_lexical{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Cla_expr_lexical S2rt_Cla_expr_lexical = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_lexical,Cla_expr_lexical::rhs6_Rtok_} }// end of reduce table }; yacco2::State S2_Cla_expr_lexical = //State's vectored into symbol: "|+|" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_Cla_expr_lexical,0,0,0}; struct S3rtd_Cla_expr_lexical{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S3rtd_Cla_expr_lexical S3rt_Cla_expr_lexical = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_lexical,Cla_expr_lexical::rhs4_Rtok_} }// end of reduce table }; yacco2::State S3_Cla_expr_lexical = //State's vectored into symbol: "+" {3 ,0,0,0,0,0,(Reduce_tbl*)&S3rt_Cla_expr_lexical,0,0,0}; struct S4rtd_Cla_expr_lexical{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Cla_expr_lexical S4rt_Cla_expr_lexical = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_lexical,Cla_expr_lexical::rhs5_Rtok_} }// end of reduce table }; yacco2::State S4_Cla_expr_lexical = //State's vectored into symbol: "-" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Cla_expr_lexical,0,0,0}; struct S5rtd_Cla_expr_lexical{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Cla_expr_lexical S5rt_Cla_expr_lexical = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_lexical,Cla_expr_lexical::rhs3_Rtok_} }// end of reduce table }; yacco2::State S5_Cla_expr_lexical = //State's vectored into symbol: "c-literal" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Cla_expr_lexical,0,0,0}; struct S6rtd_Cla_expr_lexical{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Cla_expr_lexical S6rt_Cla_expr_lexical = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_lexical,Cla_expr_lexical::rhs2_Rtok_} }// end of reduce table }; yacco2::State S6_Cla_expr_lexical = //State's vectored into symbol: "c-string" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Cla_expr_lexical,0,0,0}; struct S7rtd_Cla_expr_lexical{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S7rtd_Cla_expr_lexical S7rt_Cla_expr_lexical = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_lexical,Cla_expr_lexical::rhs1_Rtok_} }// end of reduce table }; yacco2::State S7_Cla_expr_lexical = //State's vectored into symbol: "identifier" {7 ,0,0,0,0,0,(Reduce_tbl*)&S7rt_Cla_expr_lexical,0,0,0}; struct S8std_Cla_expr_lexical{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[8]; }; S8std_Cla_expr_lexical S8st_Cla_expr_lexical = { 8 , {// start of table {1,(State*)&S9_Cla_expr_lexical} // shift sym: LR1_eog ,{6,(State*)&S2_Cla_expr_lexical} // shift sym: LR1_all_shift_operator ,{51,(State*)&S3_Cla_expr_lexical} // shift sym: raw_plus ,{53,(State*)&S4_Cla_expr_lexical} // shift sym: raw_minus ,{274,(State*)&S5_Cla_expr_lexical} // shift sym: T_c_literal ,{275,(State*)&S6_Cla_expr_lexical} // shift sym: T_c_string ,{279,(State*)&S7_Cla_expr_lexical} // shift sym: T_identifier ,{571,(State*)&S10_Cla_expr_lexical} // shift sym: Rtok }// end of shift table }; yacco2::Shift_entry S8ase_Cla_expr_lexical = {6,(State*)&S2_Cla_expr_lexical}; yacco2::State S8_Cla_expr_lexical = //State's vectored into symbol: "Rtoks" {8 ,0,(Shift_entry*)&S8ase_Cla_expr_lexical ,0,0,(Shift_tbl*)&S8st_Cla_expr_lexical,0,0,0,0}; struct S9rtd_Cla_expr_lexical{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S9rtd_Cla_expr_lexical S9rt_Cla_expr_lexical = { 1 , {// start of table {(Set_tbl*)&LA2_Cla_expr_lexical,Cla_expr_lexical::rhs1_Rstripper_} }// end of reduce table }; yacco2::State S9_Cla_expr_lexical = //State's vectored into symbol: "eog" {9 ,0,0,0,0,0,(Reduce_tbl*)&S9rt_Cla_expr_lexical,0,0,0}; struct S10rtd_Cla_expr_lexical{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S10rtd_Cla_expr_lexical S10rt_Cla_expr_lexical = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_lexical,Cla_expr_lexical::rhs2_Rtoks_} }// end of reduce table }; yacco2::State S10_Cla_expr_lexical = //State's vectored into symbol: "Rtok" {10 ,0,0,0,0,0,(Reduce_tbl*)&S10rt_Cla_expr_lexical,0,0,0}; struct S11rtd_Cla_expr_lexical{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S11rtd_Cla_expr_lexical S11rt_Cla_expr_lexical = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_lexical,Cla_expr_lexical::rhs1_Rtoks_} }// end of reduce table }; yacco2::State S11_Cla_expr_lexical = //State's vectored into symbol: "Rtok" {11 ,0,0,0,0,0,(Reduce_tbl*)&S11rt_Cla_expr_lexical,0,0,0};