/* File: epsilon_rulestbl.cpp Date and Time: Fri Jan 30 18:55:10 2015 */ #include "epsilon_rules.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_epsilon_rules;// grammar's ns // first set terminals // T_subrule_def yacco2::UCHAR LA1_Cepsilon_rules[] ={ 1 ,42,64 }; // LR1_eolr yacco2::UCHAR LA2_Cepsilon_rules[] ={ 1 ,0,4 }; // LR1_eog // rule_def yacco2::UCHAR LA3_Cepsilon_rules[] ={ 2 ,0,2 ,42,16 }; // LR1_eog // rule_def // T_subrule_def yacco2::UCHAR LA4_Cepsilon_rules[] ={ 2 ,0,2 ,42,80 }; extern yacco2::State S1_Cepsilon_rules; extern yacco2::State S2_Cepsilon_rules; extern yacco2::State S3_Cepsilon_rules; extern yacco2::State S4_Cepsilon_rules; extern yacco2::State S5_Cepsilon_rules; extern yacco2::State S6_Cepsilon_rules; extern yacco2::State S7_Cepsilon_rules; extern yacco2::State S8_Cepsilon_rules; extern yacco2::State S9_Cepsilon_rules; extern yacco2::State S10_Cepsilon_rules; extern yacco2::State S11_Cepsilon_rules; extern yacco2::State S12_Cepsilon_rules; struct S1std_Cepsilon_rules{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[5]; }; S1std_Cepsilon_rules S1st_Cepsilon_rules = { 5 , {// start of table {340,(State*)&S2_Cepsilon_rules} // shift sym: rule_def ,{569,(State*)&S1_Cepsilon_rules} // accept sym: Repsilon_rules ,{570,(State*)&S3_Cepsilon_rules} // shift sym: Rrules ,{571,(State*)&S12_Cepsilon_rules} // shift sym: Rrule ,{572,(State*)&S6_Cepsilon_rules} // shift sym: Rrule_def }// end of shift table }; yacco2::State S1_Cepsilon_rules = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Cepsilon_rules,0,0,0,0}; struct S2rtd_Cepsilon_rules{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Cepsilon_rules S2rt_Cepsilon_rules = { 1 , {// start of table {(Set_tbl*)&LA1_Cepsilon_rules,Cepsilon_rules::rhs1_Rrule_def_} }// end of reduce table }; yacco2::State S2_Cepsilon_rules = //State's vectored into symbol: "rule-def" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_Cepsilon_rules,0,0,0}; struct S3std_Cepsilon_rules{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S3std_Cepsilon_rules S3st_Cepsilon_rules = { 4 , {// start of table {1,(State*)&S4_Cepsilon_rules} // shift sym: LR1_eog ,{340,(State*)&S2_Cepsilon_rules} // shift sym: rule_def ,{571,(State*)&S5_Cepsilon_rules} // shift sym: Rrule ,{572,(State*)&S6_Cepsilon_rules} // shift sym: Rrule_def }// end of shift table }; yacco2::State S3_Cepsilon_rules = //State's vectored into symbol: "Rrules" {3 ,0,0,0,0,(Shift_tbl*)&S3st_Cepsilon_rules,0,0,0,0}; struct S4rtd_Cepsilon_rules{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Cepsilon_rules S4rt_Cepsilon_rules = { 1 , {// start of table {(Set_tbl*)&LA2_Cepsilon_rules,Cepsilon_rules::rhs1_Repsilon_rules_} }// end of reduce table }; yacco2::State S4_Cepsilon_rules = //State's vectored into symbol: "eog" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Cepsilon_rules,0,0,0}; struct S5rtd_Cepsilon_rules{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Cepsilon_rules S5rt_Cepsilon_rules = { 1 , {// start of table {(Set_tbl*)&LA3_Cepsilon_rules,Cepsilon_rules::rhs2_Rrules_} }// end of reduce table }; yacco2::State S5_Cepsilon_rules = //State's vectored into symbol: "Rrule" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Cepsilon_rules,0,0,0}; struct S6std_Cepsilon_rules{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S6std_Cepsilon_rules S6st_Cepsilon_rules = { 4 , {// start of table {342,(State*)&S7_Cepsilon_rules} // shift sym: T_subrule_def ,{573,(State*)&S8_Cepsilon_rules} // shift sym: Rsubrules ,{574,(State*)&S11_Cepsilon_rules} // shift sym: Rsubrule ,{575,(State*)&S10_Cepsilon_rules} // shift sym: Rsubrule_def }// end of shift table }; yacco2::State S6_Cepsilon_rules = //State's vectored into symbol: "Rrule_def" {6 ,0,0,0,0,(Shift_tbl*)&S6st_Cepsilon_rules,0,0,0,0}; struct S7rtd_Cepsilon_rules{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S7rtd_Cepsilon_rules S7rt_Cepsilon_rules = { 1 , {// start of table {(Set_tbl*)&LA4_Cepsilon_rules,Cepsilon_rules::rhs1_Rsubrule_def_} }// end of reduce table }; yacco2::State S7_Cepsilon_rules = //State's vectored into symbol: "subrule-def" {7 ,0,0,0,0,0,(Reduce_tbl*)&S7rt_Cepsilon_rules,0,0,0}; struct S8std_Cepsilon_rules{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S8std_Cepsilon_rules S8st_Cepsilon_rules = { 3 , {// start of table {342,(State*)&S7_Cepsilon_rules} // shift sym: T_subrule_def ,{574,(State*)&S9_Cepsilon_rules} // shift sym: Rsubrule ,{575,(State*)&S10_Cepsilon_rules} // shift sym: Rsubrule_def }// end of shift table }; struct S8rtd_Cepsilon_rules{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S8rtd_Cepsilon_rules S8rt_Cepsilon_rules = { 1 , {// start of table {(Set_tbl*)&LA3_Cepsilon_rules,Cepsilon_rules::rhs1_Rrule_} }// end of reduce table }; yacco2::State S8_Cepsilon_rules = //State's vectored into symbol: "Rsubrules" {8 ,0,0,0,0,(Shift_tbl*)&S8st_Cepsilon_rules,(Reduce_tbl*)&S8rt_Cepsilon_rules,0,0,0}; struct S9rtd_Cepsilon_rules{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S9rtd_Cepsilon_rules S9rt_Cepsilon_rules = { 1 , {// start of table {(Set_tbl*)&LA4_Cepsilon_rules,Cepsilon_rules::rhs2_Rsubrules_} }// end of reduce table }; yacco2::State S9_Cepsilon_rules = //State's vectored into symbol: "Rsubrule" {9 ,0,0,0,0,0,(Reduce_tbl*)&S9rt_Cepsilon_rules,0,0,0}; struct S10rtd_Cepsilon_rules{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S10rtd_Cepsilon_rules S10rt_Cepsilon_rules = { 1 , {// start of table {(Set_tbl*)&LA4_Cepsilon_rules,Cepsilon_rules::rhs1_Rsubrule_} }// end of reduce table }; yacco2::State S10_Cepsilon_rules = //State's vectored into symbol: "Rsubrule_def" {10 ,0,0,0,0,0,(Reduce_tbl*)&S10rt_Cepsilon_rules,0,0,0}; struct S11rtd_Cepsilon_rules{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S11rtd_Cepsilon_rules S11rt_Cepsilon_rules = { 1 , {// start of table {(Set_tbl*)&LA4_Cepsilon_rules,Cepsilon_rules::rhs1_Rsubrules_} }// end of reduce table }; yacco2::State S11_Cepsilon_rules = //State's vectored into symbol: "Rsubrule" {11 ,0,0,0,0,0,(Reduce_tbl*)&S11rt_Cepsilon_rules,0,0,0}; struct S12rtd_Cepsilon_rules{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S12rtd_Cepsilon_rules S12rt_Cepsilon_rules = { 1 , {// start of table {(Set_tbl*)&LA3_Cepsilon_rules,Cepsilon_rules::rhs1_Rrules_} }// end of reduce table }; yacco2::State S12_Cepsilon_rules = //State's vectored into symbol: "Rrule" {12 ,0,0,0,0,0,(Reduce_tbl*)&S12rt_Cepsilon_rules,0,0,0};