/* File: enumerate_grammartbl.cpp Date and Time: Fri Jan 30 18:55:09 2015 */ #include "enumerate_grammar.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_enumerate_grammar;// grammar's ns // first set terminals // T_subrule_def yacco2::UCHAR LA1_Cenumerate_grammar[] ={ 1 ,42,64 }; // LR1_eolr yacco2::UCHAR LA2_Cenumerate_grammar[] ={ 1 ,0,4 }; // LR1_eog // rule_def yacco2::UCHAR LA3_Cenumerate_grammar[] ={ 2 ,0,2 ,42,16 }; // refered_T // refered_rule // T_eosubrule // T_called_thread_eosubrule // T_null_call_thread_eosubrule yacco2::UCHAR LA4_Cenumerate_grammar[] ={ 2 ,43,10 ,46,14 }; // LR1_eog // rule_def // T_subrule_def yacco2::UCHAR LA5_Cenumerate_grammar[] ={ 2 ,0,2 ,42,80 }; // LR1_eog // rule_def // T_subrule_def // refered_T // refered_rule // T_eosubrule // T_called_thread_eosubrule // T_null_call_thread_eosubrule yacco2::UCHAR LA6_Cenumerate_grammar[] ={ 4 ,0,2 ,42,80 ,43,10 ,46,14 }; extern yacco2::State S1_Cenumerate_grammar; extern yacco2::State S2_Cenumerate_grammar; extern yacco2::State S3_Cenumerate_grammar; extern yacco2::State S4_Cenumerate_grammar; extern yacco2::State S5_Cenumerate_grammar; extern yacco2::State S6_Cenumerate_grammar; extern yacco2::State S7_Cenumerate_grammar; extern yacco2::State S8_Cenumerate_grammar; extern yacco2::State S9_Cenumerate_grammar; extern yacco2::State S10_Cenumerate_grammar; extern yacco2::State S11_Cenumerate_grammar; extern yacco2::State S12_Cenumerate_grammar; extern yacco2::State S13_Cenumerate_grammar; extern yacco2::State S14_Cenumerate_grammar; extern yacco2::State S15_Cenumerate_grammar; extern yacco2::State S16_Cenumerate_grammar; extern yacco2::State S17_Cenumerate_grammar; extern yacco2::State S18_Cenumerate_grammar; extern yacco2::State S19_Cenumerate_grammar; extern yacco2::State S20_Cenumerate_grammar; struct S1std_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[5]; }; S1std_Cenumerate_grammar S1st_Cenumerate_grammar = { 5 , {// start of table {340,(State*)&S2_Cenumerate_grammar} // shift sym: rule_def ,{569,(State*)&S1_Cenumerate_grammar} // accept sym: Rfirst_set_rules ,{570,(State*)&S3_Cenumerate_grammar} // shift sym: Rrules ,{571,(State*)&S20_Cenumerate_grammar} // shift sym: Rrule ,{572,(State*)&S6_Cenumerate_grammar} // shift sym: Rrule_def }// end of shift table }; yacco2::State S1_Cenumerate_grammar = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Cenumerate_grammar,0,0,0,0}; struct S2rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Cenumerate_grammar S2rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA1_Cenumerate_grammar,Cenumerate_grammar::rhs1_Rrule_def_} }// end of reduce table }; yacco2::State S2_Cenumerate_grammar = //State's vectored into symbol: "rule-def" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_Cenumerate_grammar,0,0,0}; struct S3std_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S3std_Cenumerate_grammar S3st_Cenumerate_grammar = { 4 , {// start of table {1,(State*)&S4_Cenumerate_grammar} // shift sym: LR1_eog ,{340,(State*)&S2_Cenumerate_grammar} // shift sym: rule_def ,{571,(State*)&S5_Cenumerate_grammar} // shift sym: Rrule ,{572,(State*)&S6_Cenumerate_grammar} // shift sym: Rrule_def }// end of shift table }; yacco2::State S3_Cenumerate_grammar = //State's vectored into symbol: "Rrules" {3 ,0,0,0,0,(Shift_tbl*)&S3st_Cenumerate_grammar,0,0,0,0}; struct S4rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Cenumerate_grammar S4rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA2_Cenumerate_grammar,Cenumerate_grammar::rhs1_Rfirst_set_rules_} }// end of reduce table }; yacco2::State S4_Cenumerate_grammar = //State's vectored into symbol: "eog" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Cenumerate_grammar,0,0,0}; struct S5rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Cenumerate_grammar S5rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA3_Cenumerate_grammar,Cenumerate_grammar::rhs2_Rrules_} }// end of reduce table }; yacco2::State S5_Cenumerate_grammar = //State's vectored into symbol: "Rrule" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Cenumerate_grammar,0,0,0}; struct S6std_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S6std_Cenumerate_grammar S6st_Cenumerate_grammar = { 4 , {// start of table {342,(State*)&S7_Cenumerate_grammar} // shift sym: T_subrule_def ,{573,(State*)&S8_Cenumerate_grammar} // shift sym: Rsubrules ,{574,(State*)&S19_Cenumerate_grammar} // shift sym: Rsubrule ,{575,(State*)&S10_Cenumerate_grammar} // shift sym: Rsubrule_def }// end of shift table }; yacco2::State S6_Cenumerate_grammar = //State's vectored into symbol: "Rrule_def" {6 ,0,0,0,0,(Shift_tbl*)&S6st_Cenumerate_grammar,0,0,0,0}; struct S7rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S7rtd_Cenumerate_grammar S7rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA4_Cenumerate_grammar,Cenumerate_grammar::rhs1_Rsubrule_def_} }// end of reduce table }; yacco2::State S7_Cenumerate_grammar = //State's vectored into symbol: "subrule-def" {7 ,0,0,0,0,0,(Reduce_tbl*)&S7rt_Cenumerate_grammar,0,0,0}; struct S8std_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S8std_Cenumerate_grammar S8st_Cenumerate_grammar = { 3 , {// start of table {342,(State*)&S7_Cenumerate_grammar} // shift sym: T_subrule_def ,{574,(State*)&S9_Cenumerate_grammar} // shift sym: Rsubrule ,{575,(State*)&S10_Cenumerate_grammar} // shift sym: Rsubrule_def }// end of shift table }; struct S8rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S8rtd_Cenumerate_grammar S8rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA3_Cenumerate_grammar,Cenumerate_grammar::rhs1_Rrule_} }// end of reduce table }; yacco2::State S8_Cenumerate_grammar = //State's vectored into symbol: "Rsubrules" {8 ,0,0,0,0,(Shift_tbl*)&S8st_Cenumerate_grammar,(Reduce_tbl*)&S8rt_Cenumerate_grammar,0,0,0}; struct S9rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S9rtd_Cenumerate_grammar S9rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA5_Cenumerate_grammar,Cenumerate_grammar::rhs2_Rsubrules_} }// end of reduce table }; yacco2::State S9_Cenumerate_grammar = //State's vectored into symbol: "Rsubrule" {9 ,0,0,0,0,0,(Reduce_tbl*)&S9rt_Cenumerate_grammar,0,0,0}; struct S10std_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[7]; }; S10std_Cenumerate_grammar S10st_Cenumerate_grammar = { 7 , {// start of table {345,(State*)&S11_Cenumerate_grammar} // shift sym: refered_T ,{347,(State*)&S12_Cenumerate_grammar} // shift sym: refered_rule ,{369,(State*)&S13_Cenumerate_grammar} // shift sym: T_eosubrule ,{370,(State*)&S14_Cenumerate_grammar} // shift sym: T_called_thread_eosubrule ,{371,(State*)&S15_Cenumerate_grammar} // shift sym: T_null_call_thread_eosubrule ,{576,(State*)&S16_Cenumerate_grammar} // shift sym: Relements ,{577,(State*)&S18_Cenumerate_grammar} // shift sym: Relement }// end of shift table }; yacco2::State S10_Cenumerate_grammar = //State's vectored into symbol: "Rsubrule_def" {10 ,0,0,0,0,(Shift_tbl*)&S10st_Cenumerate_grammar,0,0,0,0}; struct S11rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S11rtd_Cenumerate_grammar S11rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA6_Cenumerate_grammar,Cenumerate_grammar::rhs2_Relement_} }// end of reduce table }; yacco2::State S11_Cenumerate_grammar = //State's vectored into symbol: "refered-T" {11 ,0,0,0,0,0,(Reduce_tbl*)&S11rt_Cenumerate_grammar,0,0,0}; struct S12rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S12rtd_Cenumerate_grammar S12rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA6_Cenumerate_grammar,Cenumerate_grammar::rhs1_Relement_} }// end of reduce table }; yacco2::State S12_Cenumerate_grammar = //State's vectored into symbol: "refered-rule" {12 ,0,0,0,0,0,(Reduce_tbl*)&S12rt_Cenumerate_grammar,0,0,0}; struct S13rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S13rtd_Cenumerate_grammar S13rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA6_Cenumerate_grammar,Cenumerate_grammar::rhs3_Relement_} }// end of reduce table }; yacco2::State S13_Cenumerate_grammar = //State's vectored into symbol: "eosubrule" {13 ,0,0,0,0,0,(Reduce_tbl*)&S13rt_Cenumerate_grammar,0,0,0}; struct S14rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S14rtd_Cenumerate_grammar S14rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA6_Cenumerate_grammar,Cenumerate_grammar::rhs4_Relement_} }// end of reduce table }; yacco2::State S14_Cenumerate_grammar = //State's vectored into symbol: "called thread eosubrule" {14 ,0,0,0,0,0,(Reduce_tbl*)&S14rt_Cenumerate_grammar,0,0,0}; struct S15rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S15rtd_Cenumerate_grammar S15rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA6_Cenumerate_grammar,Cenumerate_grammar::rhs5_Relement_} }// end of reduce table }; yacco2::State S15_Cenumerate_grammar = //State's vectored into symbol: "null call thread eosubrule" {15 ,0,0,0,0,0,(Reduce_tbl*)&S15rt_Cenumerate_grammar,0,0,0}; struct S16std_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[6]; }; S16std_Cenumerate_grammar S16st_Cenumerate_grammar = { 6 , {// start of table {345,(State*)&S11_Cenumerate_grammar} // shift sym: refered_T ,{347,(State*)&S12_Cenumerate_grammar} // shift sym: refered_rule ,{369,(State*)&S13_Cenumerate_grammar} // shift sym: T_eosubrule ,{370,(State*)&S14_Cenumerate_grammar} // shift sym: T_called_thread_eosubrule ,{371,(State*)&S15_Cenumerate_grammar} // shift sym: T_null_call_thread_eosubrule ,{577,(State*)&S17_Cenumerate_grammar} // shift sym: Relement }// end of shift table }; struct S16rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S16rtd_Cenumerate_grammar S16rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA5_Cenumerate_grammar,Cenumerate_grammar::rhs1_Rsubrule_} }// end of reduce table }; yacco2::State S16_Cenumerate_grammar = //State's vectored into symbol: "Relements" {16 ,0,0,0,0,(Shift_tbl*)&S16st_Cenumerate_grammar,(Reduce_tbl*)&S16rt_Cenumerate_grammar,0,0,0}; struct S17rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S17rtd_Cenumerate_grammar S17rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA6_Cenumerate_grammar,Cenumerate_grammar::rhs2_Relements_} }// end of reduce table }; yacco2::State S17_Cenumerate_grammar = //State's vectored into symbol: "Relement" {17 ,0,0,0,0,0,(Reduce_tbl*)&S17rt_Cenumerate_grammar,0,0,0}; struct S18rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S18rtd_Cenumerate_grammar S18rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA6_Cenumerate_grammar,Cenumerate_grammar::rhs1_Relements_} }// end of reduce table }; yacco2::State S18_Cenumerate_grammar = //State's vectored into symbol: "Relement" {18 ,0,0,0,0,0,(Reduce_tbl*)&S18rt_Cenumerate_grammar,0,0,0}; struct S19rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S19rtd_Cenumerate_grammar S19rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA5_Cenumerate_grammar,Cenumerate_grammar::rhs1_Rsubrules_} }// end of reduce table }; yacco2::State S19_Cenumerate_grammar = //State's vectored into symbol: "Rsubrule" {19 ,0,0,0,0,0,(Reduce_tbl*)&S19rt_Cenumerate_grammar,0,0,0}; struct S20rtd_Cenumerate_grammar{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S20rtd_Cenumerate_grammar S20rt_Cenumerate_grammar = { 1 , {// start of table {(Set_tbl*)&LA3_Cenumerate_grammar,Cenumerate_grammar::rhs1_Rrules_} }// end of reduce table }; yacco2::State S20_Cenumerate_grammar = //State's vectored into symbol: "Rrule" {20 ,0,0,0,0,0,(Reduce_tbl*)&S20rt_Cenumerate_grammar,0,0,0};