/* File: lr1_br1tbl.cpp Date and Time: Mon Oct 13 18:18:14 2014 */ #include "lr1_br1.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_br1;// grammar's ns // first set terminals // LR1_eog yacco2::UCHAR LA1_Clr1_br1_rul_fsm[] ={ 1 ,0,2 }; // raw_a yacco2::UCHAR LA2_Clr1_br1_rul_fsm[] ={ 1 ,13,2 }; // raw_b yacco2::UCHAR LA3_Clr1_br1_rul_fsm[] ={ 1 ,13,4 }; // LR1_eolr yacco2::UCHAR LA4_Clr1_br1_rul_fsm[] ={ 1 ,0,4 }; extern yacco2::State S1_Clr1_br1_rul_fsm; extern yacco2::State S2_Clr1_br1_rul_fsm; extern yacco2::State S3_Clr1_br1_rul_fsm; extern yacco2::State S4_Clr1_br1_rul_fsm; extern yacco2::State S5_Clr1_br1_rul_fsm; extern yacco2::State S6_Clr1_br1_rul_fsm; extern yacco2::State S7_Clr1_br1_rul_fsm; extern yacco2::State S8_Clr1_br1_rul_fsm; extern yacco2::State S9_Clr1_br1_rul_fsm; extern yacco2::State S10_Clr1_br1_rul_fsm; extern yacco2::State S11_Clr1_br1_rul_fsm; extern yacco2::State S12_Clr1_br1_rul_fsm; extern yacco2::State S13_Clr1_br1_rul_fsm; extern yacco2::State S14_Clr1_br1_rul_fsm; extern yacco2::State S15_Clr1_br1_rul_fsm; extern yacco2::State S16_Clr1_br1_rul_fsm; extern yacco2::State S17_Clr1_br1_rul_fsm; extern yacco2::State S18_Clr1_br1_rul_fsm; extern yacco2::State S19_Clr1_br1_rul_fsm; extern yacco2::State S20_Clr1_br1_rul_fsm; extern yacco2::State S21_Clr1_br1_rul_fsm; extern yacco2::State S22_Clr1_br1_rul_fsm; extern yacco2::State S23_Clr1_br1_rul_fsm; extern yacco2::State S24_Clr1_br1_rul_fsm; struct S1std_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[6]; }; S1std_Clr1_br1_rul_fsm S1st_Clr1_br1_rul_fsm = { 6 , {// start of table {125,(State*)&S2_Clr1_br1_rul_fsm} // shift sym: raw_u ,{128,(State*)&S7_Clr1_br1_rul_fsm} // shift sym: raw_x ,{569,(State*)&S1_Clr1_br1_rul_fsm} // accept sym: Rlr1_br1 ,{570,(State*)&S13_Clr1_br1_rul_fsm} // shift sym: RE ,{571,(State*)&S15_Clr1_br1_rul_fsm} // shift sym: RA ,{572,(State*)&S17_Clr1_br1_rul_fsm} // shift sym: RB }// end of shift table }; yacco2::State S1_Clr1_br1_rul_fsm = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Clr1_br1_rul_fsm,0,0,0,0}; struct S2std_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S2std_Clr1_br1_rul_fsm S2st_Clr1_br1_rul_fsm = { 3 , {// start of table {128,(State*)&S19_Clr1_br1_rul_fsm} // shift sym: raw_x ,{571,(State*)&S3_Clr1_br1_rul_fsm} // shift sym: RA ,{572,(State*)&S5_Clr1_br1_rul_fsm} // shift sym: RB }// end of shift table }; yacco2::State S2_Clr1_br1_rul_fsm = //State's vectored into symbol: "u" {2 ,0,0,0,0,(Shift_tbl*)&S2st_Clr1_br1_rul_fsm,0,0,0,0}; struct S3std_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S3std_Clr1_br1_rul_fsm S3st_Clr1_br1_rul_fsm = { 1 , {// start of table {106,(State*)&S4_Clr1_br1_rul_fsm} // shift sym: raw_b }// end of shift table }; yacco2::State S3_Clr1_br1_rul_fsm = //State's vectored into symbol: "RA" {3 ,0,0,0,0,(Shift_tbl*)&S3st_Clr1_br1_rul_fsm,0,0,0,0}; struct S4rtd_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Clr1_br1_rul_fsm S4rt_Clr1_br1_rul_fsm = { 1 , {// start of table {(Set_tbl*)&LA1_Clr1_br1_rul_fsm,Clr1_br1_rul_fsm::rhs3_RE_} }// end of reduce table }; yacco2::State S4_Clr1_br1_rul_fsm = //State's vectored into symbol: "b" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Clr1_br1_rul_fsm,0,0,0}; struct S5std_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S5std_Clr1_br1_rul_fsm S5st_Clr1_br1_rul_fsm = { 1 , {// start of table {105,(State*)&S6_Clr1_br1_rul_fsm} // shift sym: raw_a }// end of shift table }; yacco2::State S5_Clr1_br1_rul_fsm = //State's vectored into symbol: "RB" {5 ,0,0,0,0,(Shift_tbl*)&S5st_Clr1_br1_rul_fsm,0,0,0,0}; struct S6rtd_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Clr1_br1_rul_fsm S6rt_Clr1_br1_rul_fsm = { 1 , {// start of table {(Set_tbl*)&LA1_Clr1_br1_rul_fsm,Clr1_br1_rul_fsm::rhs4_RE_} }// end of reduce table }; yacco2::State S6_Clr1_br1_rul_fsm = //State's vectored into symbol: "a" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Clr1_br1_rul_fsm,0,0,0}; struct S7std_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S7std_Clr1_br1_rul_fsm S7st_Clr1_br1_rul_fsm = { 2 , {// start of table {121,(State*)&S8_Clr1_br1_rul_fsm} // shift sym: raw_q ,{129,(State*)&S9_Clr1_br1_rul_fsm} // shift sym: raw_y }// end of shift table }; yacco2::State S7_Clr1_br1_rul_fsm = //State's vectored into symbol: "x" {7 ,0,0,0,0,(Shift_tbl*)&S7st_Clr1_br1_rul_fsm,0,0,0,0}; struct S8rtd_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[2]; }; S8rtd_Clr1_br1_rul_fsm S8rt_Clr1_br1_rul_fsm = { 2 , {// start of table {(Set_tbl*)&LA2_Clr1_br1_rul_fsm,Clr1_br1_rul_fsm::rhs2_RA_} ,{(Set_tbl*)&LA3_Clr1_br1_rul_fsm,Clr1_br1_rul_fsm::rhs2_RB_} }// end of reduce table }; yacco2::State S8_Clr1_br1_rul_fsm = //State's vectored into symbol: "q" {8 ,0,0,0,0,0,(Reduce_tbl*)&S8rt_Clr1_br1_rul_fsm,0,0,0}; struct S9std_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S9std_Clr1_br1_rul_fsm S9st_Clr1_br1_rul_fsm = { 1 , {// start of table {130,(State*)&S10_Clr1_br1_rul_fsm} // shift sym: raw_z }// end of shift table }; yacco2::State S9_Clr1_br1_rul_fsm = //State's vectored into symbol: "y" {9 ,0,0,0,0,(Shift_tbl*)&S9st_Clr1_br1_rul_fsm,0,0,0,0}; struct S10std_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S10std_Clr1_br1_rul_fsm S10st_Clr1_br1_rul_fsm = { 3 , {// start of table {128,(State*)&S7_Clr1_br1_rul_fsm} // shift sym: raw_x ,{571,(State*)&S11_Clr1_br1_rul_fsm} // shift sym: RA ,{572,(State*)&S12_Clr1_br1_rul_fsm} // shift sym: RB }// end of shift table }; yacco2::State S10_Clr1_br1_rul_fsm = //State's vectored into symbol: "z" {10 ,0,0,0,0,(Shift_tbl*)&S10st_Clr1_br1_rul_fsm,0,0,0,0}; struct S11rtd_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S11rtd_Clr1_br1_rul_fsm S11rt_Clr1_br1_rul_fsm = { 1 , {// start of table {(Set_tbl*)&LA2_Clr1_br1_rul_fsm,Clr1_br1_rul_fsm::rhs1_RA_} }// end of reduce table }; yacco2::State S11_Clr1_br1_rul_fsm = //State's vectored into symbol: "RA" {11 ,0,0,0,0,0,(Reduce_tbl*)&S11rt_Clr1_br1_rul_fsm,0,0,0}; struct S12rtd_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S12rtd_Clr1_br1_rul_fsm S12rt_Clr1_br1_rul_fsm = { 1 , {// start of table {(Set_tbl*)&LA3_Clr1_br1_rul_fsm,Clr1_br1_rul_fsm::rhs1_RB_} }// end of reduce table }; yacco2::State S12_Clr1_br1_rul_fsm = //State's vectored into symbol: "RB" {12 ,0,0,0,0,0,(Reduce_tbl*)&S12rt_Clr1_br1_rul_fsm,0,0,0}; struct S13std_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S13std_Clr1_br1_rul_fsm S13st_Clr1_br1_rul_fsm = { 1 , {// start of table {1,(State*)&S14_Clr1_br1_rul_fsm} // shift sym: LR1_eog }// end of shift table }; yacco2::State S13_Clr1_br1_rul_fsm = //State's vectored into symbol: "RE" {13 ,0,0,0,0,(Shift_tbl*)&S13st_Clr1_br1_rul_fsm,0,0,0,0}; struct S14rtd_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S14rtd_Clr1_br1_rul_fsm S14rt_Clr1_br1_rul_fsm = { 1 , {// start of table {(Set_tbl*)&LA4_Clr1_br1_rul_fsm,Clr1_br1_rul_fsm::rhs1_Rlr1_br1_} }// end of reduce table }; yacco2::State S14_Clr1_br1_rul_fsm = //State's vectored into symbol: "eog" {14 ,0,0,0,0,0,(Reduce_tbl*)&S14rt_Clr1_br1_rul_fsm,0,0,0}; struct S15std_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S15std_Clr1_br1_rul_fsm S15st_Clr1_br1_rul_fsm = { 1 , {// start of table {105,(State*)&S16_Clr1_br1_rul_fsm} // shift sym: raw_a }// end of shift table }; yacco2::State S15_Clr1_br1_rul_fsm = //State's vectored into symbol: "RA" {15 ,0,0,0,0,(Shift_tbl*)&S15st_Clr1_br1_rul_fsm,0,0,0,0}; struct S16rtd_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S16rtd_Clr1_br1_rul_fsm S16rt_Clr1_br1_rul_fsm = { 1 , {// start of table {(Set_tbl*)&LA1_Clr1_br1_rul_fsm,Clr1_br1_rul_fsm::rhs1_RE_} }// end of reduce table }; yacco2::State S16_Clr1_br1_rul_fsm = //State's vectored into symbol: "a" {16 ,0,0,0,0,0,(Reduce_tbl*)&S16rt_Clr1_br1_rul_fsm,0,0,0}; struct S17std_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S17std_Clr1_br1_rul_fsm S17st_Clr1_br1_rul_fsm = { 1 , {// start of table {106,(State*)&S18_Clr1_br1_rul_fsm} // shift sym: raw_b }// end of shift table }; yacco2::State S17_Clr1_br1_rul_fsm = //State's vectored into symbol: "RB" {17 ,0,0,0,0,(Shift_tbl*)&S17st_Clr1_br1_rul_fsm,0,0,0,0}; struct S18rtd_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S18rtd_Clr1_br1_rul_fsm S18rt_Clr1_br1_rul_fsm = { 1 , {// start of table {(Set_tbl*)&LA1_Clr1_br1_rul_fsm,Clr1_br1_rul_fsm::rhs2_RE_} }// end of reduce table }; yacco2::State S18_Clr1_br1_rul_fsm = //State's vectored into symbol: "b" {18 ,0,0,0,0,0,(Reduce_tbl*)&S18rt_Clr1_br1_rul_fsm,0,0,0}; struct S19std_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S19std_Clr1_br1_rul_fsm S19st_Clr1_br1_rul_fsm = { 2 , {// start of table {121,(State*)&S20_Clr1_br1_rul_fsm} // shift sym: raw_q ,{129,(State*)&S21_Clr1_br1_rul_fsm} // shift sym: raw_y }// end of shift table }; yacco2::State S19_Clr1_br1_rul_fsm = //State's vectored into symbol: "x" {19 ,0,0,0,0,(Shift_tbl*)&S19st_Clr1_br1_rul_fsm,0,0,0,0}; struct S20rtd_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[2]; }; S20rtd_Clr1_br1_rul_fsm S20rt_Clr1_br1_rul_fsm = { 2 , {// start of table {(Set_tbl*)&LA3_Clr1_br1_rul_fsm,Clr1_br1_rul_fsm::rhs2_RA_} ,{(Set_tbl*)&LA2_Clr1_br1_rul_fsm,Clr1_br1_rul_fsm::rhs2_RB_} }// end of reduce table }; yacco2::State S20_Clr1_br1_rul_fsm = //State's vectored into symbol: "q" {20 ,0,0,0,0,0,(Reduce_tbl*)&S20rt_Clr1_br1_rul_fsm,0,0,0}; struct S21std_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S21std_Clr1_br1_rul_fsm S21st_Clr1_br1_rul_fsm = { 1 , {// start of table {130,(State*)&S22_Clr1_br1_rul_fsm} // shift sym: raw_z }// end of shift table }; yacco2::State S21_Clr1_br1_rul_fsm = //State's vectored into symbol: "y" {21 ,0,0,0,0,(Shift_tbl*)&S21st_Clr1_br1_rul_fsm,0,0,0,0}; struct S22std_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S22std_Clr1_br1_rul_fsm S22st_Clr1_br1_rul_fsm = { 3 , {// start of table {128,(State*)&S19_Clr1_br1_rul_fsm} // shift sym: raw_x ,{571,(State*)&S23_Clr1_br1_rul_fsm} // shift sym: RA ,{572,(State*)&S24_Clr1_br1_rul_fsm} // shift sym: RB }// end of shift table }; yacco2::State S22_Clr1_br1_rul_fsm = //State's vectored into symbol: "z" {22 ,0,0,0,0,(Shift_tbl*)&S22st_Clr1_br1_rul_fsm,0,0,0,0}; struct S23rtd_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S23rtd_Clr1_br1_rul_fsm S23rt_Clr1_br1_rul_fsm = { 1 , {// start of table {(Set_tbl*)&LA3_Clr1_br1_rul_fsm,Clr1_br1_rul_fsm::rhs1_RA_} }// end of reduce table }; yacco2::State S23_Clr1_br1_rul_fsm = //State's vectored into symbol: "RA" {23 ,0,0,0,0,0,(Reduce_tbl*)&S23rt_Clr1_br1_rul_fsm,0,0,0}; struct S24rtd_Clr1_br1_rul_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S24rtd_Clr1_br1_rul_fsm S24rt_Clr1_br1_rul_fsm = { 1 , {// start of table {(Set_tbl*)&LA2_Clr1_br1_rul_fsm,Clr1_br1_rul_fsm::rhs1_RB_} }// end of reduce table }; yacco2::State S24_Clr1_br1_rul_fsm = //State's vectored into symbol: "RB" {24 ,0,0,0,0,0,(Reduce_tbl*)&S24rt_Clr1_br1_rul_fsm,0,0,0};