/* File: LR1_sp5tbl.cpp Date and Time: Mon Oct 13 18:18:13 2014 */ #include "LR1_sp5.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_LR1_sp5;// grammar's ns // first set terminals // LR1_eog // raw_z yacco2::UCHAR LA1_Clr1_sp5_fsm[] ={ 2 ,0,2 ,16,4 }; // raw_x yacco2::UCHAR LA2_Clr1_sp5_fsm[] ={ 1 ,16,1 }; // LR1_eog yacco2::UCHAR LA3_Clr1_sp5_fsm[] ={ 1 ,0,2 }; // LR1_eolr yacco2::UCHAR LA4_Clr1_sp5_fsm[] ={ 1 ,0,4 }; extern yacco2::State S1_Clr1_sp5_fsm; extern yacco2::State S2_Clr1_sp5_fsm; extern yacco2::State S3_Clr1_sp5_fsm; extern yacco2::State S4_Clr1_sp5_fsm; extern yacco2::State S5_Clr1_sp5_fsm; extern yacco2::State S6_Clr1_sp5_fsm; extern yacco2::State S7_Clr1_sp5_fsm; extern yacco2::State S8_Clr1_sp5_fsm; extern yacco2::State S9_Clr1_sp5_fsm; extern yacco2::State S10_Clr1_sp5_fsm; extern yacco2::State S11_Clr1_sp5_fsm; extern yacco2::State S12_Clr1_sp5_fsm; extern yacco2::State S13_Clr1_sp5_fsm; extern yacco2::State S14_Clr1_sp5_fsm; extern yacco2::State S15_Clr1_sp5_fsm; extern yacco2::State S16_Clr1_sp5_fsm; extern yacco2::State S17_Clr1_sp5_fsm; extern yacco2::State S18_Clr1_sp5_fsm; extern yacco2::State S19_Clr1_sp5_fsm; extern yacco2::State S20_Clr1_sp5_fsm; extern yacco2::State S21_Clr1_sp5_fsm; extern yacco2::State S22_Clr1_sp5_fsm; struct S1std_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[6]; }; S1std_Clr1_sp5_fsm S1st_Clr1_sp5_fsm = { 6 , {// start of table {105,(State*)&S2_Clr1_sp5_fsm} // shift sym: raw_a ,{108,(State*)&S4_Clr1_sp5_fsm} // shift sym: raw_d ,{569,(State*)&S1_Clr1_sp5_fsm} // accept sym: Rlr1_sp5 ,{570,(State*)&S17_Clr1_sp5_fsm} // shift sym: RS ,{571,(State*)&S19_Clr1_sp5_fsm} // shift sym: RA ,{572,(State*)&S21_Clr1_sp5_fsm} // shift sym: RB }// end of shift table }; yacco2::State S1_Clr1_sp5_fsm = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Clr1_sp5_fsm,0,0,0,0}; struct S2std_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S2std_Clr1_sp5_fsm S2st_Clr1_sp5_fsm = { 3 , {// start of table {106,(State*)&S3_Clr1_sp5_fsm} // shift sym: raw_b ,{110,(State*)&S10_Clr1_sp5_fsm} // shift sym: raw_f ,{573,(State*)&S16_Clr1_sp5_fsm} // shift sym: RD }// end of shift table }; yacco2::State S2_Clr1_sp5_fsm = //State's vectored into symbol: "a" {2 ,0,0,0,0,(Shift_tbl*)&S2st_Clr1_sp5_fsm,0,0,0,0}; struct S3std_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S3std_Clr1_sp5_fsm S3st_Clr1_sp5_fsm = { 3 , {// start of table {108,(State*)&S4_Clr1_sp5_fsm} // shift sym: raw_d ,{571,(State*)&S5_Clr1_sp5_fsm} // shift sym: RA ,{572,(State*)&S8_Clr1_sp5_fsm} // shift sym: RB }// end of shift table }; yacco2::State S3_Clr1_sp5_fsm = //State's vectored into symbol: "b" {3 ,0,0,0,0,(Shift_tbl*)&S3st_Clr1_sp5_fsm,0,0,0,0}; struct S4rtd_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[2]; }; S4rtd_Clr1_sp5_fsm S4rt_Clr1_sp5_fsm = { 2 , {// start of table {(Set_tbl*)&LA1_Clr1_sp5_fsm,Clr1_sp5_fsm::rhs1_RA_} ,{(Set_tbl*)&LA2_Clr1_sp5_fsm,Clr1_sp5_fsm::rhs1_RB_} }// end of reduce table }; yacco2::State S4_Clr1_sp5_fsm = //State's vectored into symbol: "d" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Clr1_sp5_fsm,0,0,0}; struct S5std_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S5std_Clr1_sp5_fsm S5st_Clr1_sp5_fsm = { 2 , {// start of table {130,(State*)&S6_Clr1_sp5_fsm} // shift sym: raw_z ,{574,(State*)&S7_Clr1_sp5_fsm} // shift sym: RE }// end of shift table }; struct S5rtd_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Clr1_sp5_fsm S5rt_Clr1_sp5_fsm = { 1 , {// start of table {(Set_tbl*)&LA3_Clr1_sp5_fsm,Clr1_sp5_fsm::rhs1_RE_} }// end of reduce table }; yacco2::State S5_Clr1_sp5_fsm = //State's vectored into symbol: "RA" {5 ,0,0,0,0,(Shift_tbl*)&S5st_Clr1_sp5_fsm,(Reduce_tbl*)&S5rt_Clr1_sp5_fsm,0,0,0}; struct S6rtd_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Clr1_sp5_fsm S6rt_Clr1_sp5_fsm = { 1 , {// start of table {(Set_tbl*)&LA3_Clr1_sp5_fsm,Clr1_sp5_fsm::rhs2_RE_} }// end of reduce table }; yacco2::State S6_Clr1_sp5_fsm = //State's vectored into symbol: "z" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Clr1_sp5_fsm,0,0,0}; struct S7rtd_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S7rtd_Clr1_sp5_fsm S7rt_Clr1_sp5_fsm = { 1 , {// start of table {(Set_tbl*)&LA3_Clr1_sp5_fsm,Clr1_sp5_fsm::rhs1_RS_} }// end of reduce table }; yacco2::State S7_Clr1_sp5_fsm = //State's vectored into symbol: "RE" {7 ,0,0,0,0,0,(Reduce_tbl*)&S7rt_Clr1_sp5_fsm,0,0,0}; struct S8std_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S8std_Clr1_sp5_fsm S8st_Clr1_sp5_fsm = { 1 , {// start of table {128,(State*)&S9_Clr1_sp5_fsm} // shift sym: raw_x }// end of shift table }; yacco2::State S8_Clr1_sp5_fsm = //State's vectored into symbol: "RB" {8 ,0,0,0,0,(Shift_tbl*)&S8st_Clr1_sp5_fsm,0,0,0,0}; struct S9rtd_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S9rtd_Clr1_sp5_fsm S9rt_Clr1_sp5_fsm = { 1 , {// start of table {(Set_tbl*)&LA3_Clr1_sp5_fsm,Clr1_sp5_fsm::rhs2_RS_} }// end of reduce table }; yacco2::State S9_Clr1_sp5_fsm = //State's vectored into symbol: "x" {9 ,0,0,0,0,0,(Reduce_tbl*)&S9rt_Clr1_sp5_fsm,0,0,0}; struct S10std_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S10std_Clr1_sp5_fsm S10st_Clr1_sp5_fsm = { 4 , {// start of table {105,(State*)&S11_Clr1_sp5_fsm} // shift sym: raw_a ,{108,(State*)&S4_Clr1_sp5_fsm} // shift sym: raw_d ,{571,(State*)&S13_Clr1_sp5_fsm} // shift sym: RA ,{572,(State*)&S14_Clr1_sp5_fsm} // shift sym: RB }// end of shift table }; yacco2::State S10_Clr1_sp5_fsm = //State's vectored into symbol: "f" {10 ,0,0,0,0,(Shift_tbl*)&S10st_Clr1_sp5_fsm,0,0,0,0}; struct S11std_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S11std_Clr1_sp5_fsm S11st_Clr1_sp5_fsm = { 2 , {// start of table {110,(State*)&S10_Clr1_sp5_fsm} // shift sym: raw_f ,{573,(State*)&S12_Clr1_sp5_fsm} // shift sym: RD }// end of shift table }; yacco2::State S11_Clr1_sp5_fsm = //State's vectored into symbol: "a" {11 ,0,0,0,0,(Shift_tbl*)&S11st_Clr1_sp5_fsm,0,0,0,0}; struct S12rtd_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S12rtd_Clr1_sp5_fsm S12rt_Clr1_sp5_fsm = { 1 , {// start of table {(Set_tbl*)&LA3_Clr1_sp5_fsm,Clr1_sp5_fsm::rhs3_RD_} }// end of reduce table }; yacco2::State S12_Clr1_sp5_fsm = //State's vectored into symbol: "RD" {12 ,0,0,0,0,0,(Reduce_tbl*)&S12rt_Clr1_sp5_fsm,0,0,0}; struct S13rtd_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S13rtd_Clr1_sp5_fsm S13rt_Clr1_sp5_fsm = { 1 , {// start of table {(Set_tbl*)&LA3_Clr1_sp5_fsm,Clr1_sp5_fsm::rhs1_RD_} }// end of reduce table }; yacco2::State S13_Clr1_sp5_fsm = //State's vectored into symbol: "RA" {13 ,0,0,0,0,0,(Reduce_tbl*)&S13rt_Clr1_sp5_fsm,0,0,0}; struct S14std_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S14std_Clr1_sp5_fsm S14st_Clr1_sp5_fsm = { 1 , {// start of table {128,(State*)&S15_Clr1_sp5_fsm} // shift sym: raw_x }// end of shift table }; yacco2::State S14_Clr1_sp5_fsm = //State's vectored into symbol: "RB" {14 ,0,0,0,0,(Shift_tbl*)&S14st_Clr1_sp5_fsm,0,0,0,0}; struct S15rtd_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S15rtd_Clr1_sp5_fsm S15rt_Clr1_sp5_fsm = { 1 , {// start of table {(Set_tbl*)&LA3_Clr1_sp5_fsm,Clr1_sp5_fsm::rhs2_RD_} }// end of reduce table }; yacco2::State S15_Clr1_sp5_fsm = //State's vectored into symbol: "x" {15 ,0,0,0,0,0,(Reduce_tbl*)&S15rt_Clr1_sp5_fsm,0,0,0}; struct S16rtd_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S16rtd_Clr1_sp5_fsm S16rt_Clr1_sp5_fsm = { 1 , {// start of table {(Set_tbl*)&LA3_Clr1_sp5_fsm,Clr1_sp5_fsm::rhs3_RS_} }// end of reduce table }; yacco2::State S16_Clr1_sp5_fsm = //State's vectored into symbol: "RD" {16 ,0,0,0,0,0,(Reduce_tbl*)&S16rt_Clr1_sp5_fsm,0,0,0}; struct S17std_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S17std_Clr1_sp5_fsm S17st_Clr1_sp5_fsm = { 1 , {// start of table {1,(State*)&S18_Clr1_sp5_fsm} // shift sym: LR1_eog }// end of shift table }; yacco2::State S17_Clr1_sp5_fsm = //State's vectored into symbol: "RS" {17 ,0,0,0,0,(Shift_tbl*)&S17st_Clr1_sp5_fsm,0,0,0,0}; struct S18rtd_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S18rtd_Clr1_sp5_fsm S18rt_Clr1_sp5_fsm = { 1 , {// start of table {(Set_tbl*)&LA4_Clr1_sp5_fsm,Clr1_sp5_fsm::rhs1_Rlr1_sp5_} }// end of reduce table }; yacco2::State S18_Clr1_sp5_fsm = //State's vectored into symbol: "eog" {18 ,0,0,0,0,0,(Reduce_tbl*)&S18rt_Clr1_sp5_fsm,0,0,0}; struct S19std_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S19std_Clr1_sp5_fsm S19st_Clr1_sp5_fsm = { 1 , {// start of table {130,(State*)&S20_Clr1_sp5_fsm} // shift sym: raw_z }// end of shift table }; yacco2::State S19_Clr1_sp5_fsm = //State's vectored into symbol: "RA" {19 ,0,0,0,0,(Shift_tbl*)&S19st_Clr1_sp5_fsm,0,0,0,0}; struct S20rtd_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S20rtd_Clr1_sp5_fsm S20rt_Clr1_sp5_fsm = { 1 , {// start of table {(Set_tbl*)&LA3_Clr1_sp5_fsm,Clr1_sp5_fsm::rhs4_RS_} }// end of reduce table }; yacco2::State S20_Clr1_sp5_fsm = //State's vectored into symbol: "z" {20 ,0,0,0,0,0,(Reduce_tbl*)&S20rt_Clr1_sp5_fsm,0,0,0}; struct S21std_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S21std_Clr1_sp5_fsm S21st_Clr1_sp5_fsm = { 1 , {// start of table {128,(State*)&S22_Clr1_sp5_fsm} // shift sym: raw_x }// end of shift table }; yacco2::State S21_Clr1_sp5_fsm = //State's vectored into symbol: "RB" {21 ,0,0,0,0,(Shift_tbl*)&S21st_Clr1_sp5_fsm,0,0,0,0}; struct S22rtd_Clr1_sp5_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S22rtd_Clr1_sp5_fsm S22rt_Clr1_sp5_fsm = { 1 , {// start of table {(Set_tbl*)&LA3_Clr1_sp5_fsm,Clr1_sp5_fsm::rhs5_RS_} }// end of reduce table }; yacco2::State S22_Clr1_sp5_fsm = //State's vectored into symbol: "x" {22 ,0,0,0,0,0,(Reduce_tbl*)&S22rt_Clr1_sp5_fsm,0,0,0};