/* File: first_set_rulestbl.cpp Date and Time: Fri Jan 30 18:55:11 2015 */ #include "first_set_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_first_set_rules;// grammar's ns // first set terminals // LR1_eog // rule_def yacco2::UCHAR LA1_Cfirst_set_rules[] ={ 2 ,0,2 ,42,16 }; // LR1_eolr yacco2::UCHAR LA2_Cfirst_set_rules[] ={ 1 ,0,4 }; extern yacco2::State S1_Cfirst_set_rules; extern yacco2::State S2_Cfirst_set_rules; extern yacco2::State S3_Cfirst_set_rules; extern yacco2::State S4_Cfirst_set_rules; extern yacco2::State S5_Cfirst_set_rules; extern yacco2::State S6_Cfirst_set_rules; extern yacco2::State S7_Cfirst_set_rules; struct S1std_Cfirst_set_rules{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[5]; }; S1std_Cfirst_set_rules S1st_Cfirst_set_rules = { 5 , {// start of table {340,(State*)&S2_Cfirst_set_rules} // shift sym: rule_def ,{569,(State*)&S1_Cfirst_set_rules} // accept sym: Rfirst_set_rules ,{570,(State*)&S3_Cfirst_set_rules} // shift sym: Rrules ,{571,(State*)&S7_Cfirst_set_rules} // shift sym: Rrule ,{572,(State*)&S6_Cfirst_set_rules} // shift sym: Rrule_def }// end of shift table }; yacco2::State S1_Cfirst_set_rules = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Cfirst_set_rules,0,0,0,0}; struct S2rtd_Cfirst_set_rules{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Cfirst_set_rules S2rt_Cfirst_set_rules = { 1 , {// start of table {(Set_tbl*)&LA1_Cfirst_set_rules,Cfirst_set_rules::rhs1_Rrule_def_} }// end of reduce table }; yacco2::State S2_Cfirst_set_rules = //State's vectored into symbol: "rule-def" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_Cfirst_set_rules,0,0,0}; struct S3std_Cfirst_set_rules{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S3std_Cfirst_set_rules S3st_Cfirst_set_rules = { 4 , {// start of table {1,(State*)&S4_Cfirst_set_rules} // shift sym: LR1_eog ,{340,(State*)&S2_Cfirst_set_rules} // shift sym: rule_def ,{571,(State*)&S5_Cfirst_set_rules} // shift sym: Rrule ,{572,(State*)&S6_Cfirst_set_rules} // shift sym: Rrule_def }// end of shift table }; yacco2::State S3_Cfirst_set_rules = //State's vectored into symbol: "Rrules" {3 ,0,0,0,0,(Shift_tbl*)&S3st_Cfirst_set_rules,0,0,0,0}; struct S4rtd_Cfirst_set_rules{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Cfirst_set_rules S4rt_Cfirst_set_rules = { 1 , {// start of table {(Set_tbl*)&LA2_Cfirst_set_rules,Cfirst_set_rules::rhs1_Rfirst_set_rules_} }// end of reduce table }; yacco2::State S4_Cfirst_set_rules = //State's vectored into symbol: "eog" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Cfirst_set_rules,0,0,0}; struct S5rtd_Cfirst_set_rules{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Cfirst_set_rules S5rt_Cfirst_set_rules = { 1 , {// start of table {(Set_tbl*)&LA1_Cfirst_set_rules,Cfirst_set_rules::rhs2_Rrules_} }// end of reduce table }; yacco2::State S5_Cfirst_set_rules = //State's vectored into symbol: "Rrule" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Cfirst_set_rules,0,0,0}; struct S6rtd_Cfirst_set_rules{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Cfirst_set_rules S6rt_Cfirst_set_rules = { 1 , {// start of table {(Set_tbl*)&LA1_Cfirst_set_rules,Cfirst_set_rules::rhs1_Rrule_} }// end of reduce table }; yacco2::State S6_Cfirst_set_rules = //State's vectored into symbol: "Rrule_def" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Cfirst_set_rules,0,0,0}; struct S7rtd_Cfirst_set_rules{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S7rtd_Cfirst_set_rules S7rt_Cfirst_set_rules = { 1 , {// start of table {(Set_tbl*)&LA1_Cfirst_set_rules,Cfirst_set_rules::rhs1_Rrules_} }// end of reduce table }; yacco2::State S7_Cfirst_set_rules = //State's vectored into symbol: "Rrule" {7 ,0,0,0,0,0,(Reduce_tbl*)&S7rt_Cfirst_set_rules,0,0,0};