/* File: lr1_sp6tbl.cpp Date and Time: Sun Sep 14 21:16:19 2014 */ #include "lr1_sp6.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_sp6;// grammar's ns // first set terminals // LR1_eolr yacco2::UCHAR LA1_Clr1_sp6_fsm[] ={ 1 ,0,4 }; // raw_x yacco2::UCHAR LA2_Clr1_sp6_fsm[] ={ 1 ,16,1 }; // LR1_eog // raw_m // raw_z yacco2::UCHAR LA3_Clr1_sp6_fsm[] ={ 3 ,0,2 ,14,32 ,16,4 }; // LR1_eog // raw_m yacco2::UCHAR LA4_Clr1_sp6_fsm[] ={ 2 ,0,2 ,14,32 }; // LR1_eog yacco2::UCHAR LA5_Clr1_sp6_fsm[] ={ 1 ,0,2 }; extern yacco2::State S1_Clr1_sp6_fsm; extern yacco2::State S2_Clr1_sp6_fsm; extern yacco2::State S3_Clr1_sp6_fsm; extern yacco2::State S4_Clr1_sp6_fsm; extern yacco2::State S5_Clr1_sp6_fsm; extern yacco2::State S6_Clr1_sp6_fsm; extern yacco2::State S7_Clr1_sp6_fsm; extern yacco2::State S8_Clr1_sp6_fsm; extern yacco2::State S9_Clr1_sp6_fsm; extern yacco2::State S10_Clr1_sp6_fsm; extern yacco2::State S11_Clr1_sp6_fsm; extern yacco2::State S12_Clr1_sp6_fsm; extern yacco2::State S13_Clr1_sp6_fsm; extern yacco2::State S14_Clr1_sp6_fsm; extern yacco2::State S15_Clr1_sp6_fsm; extern yacco2::State S16_Clr1_sp6_fsm; extern yacco2::State S17_Clr1_sp6_fsm; extern yacco2::State S18_Clr1_sp6_fsm; extern yacco2::State S19_Clr1_sp6_fsm; extern yacco2::State S20_Clr1_sp6_fsm; extern yacco2::State S21_Clr1_sp6_fsm; extern yacco2::State S22_Clr1_sp6_fsm; extern yacco2::State S23_Clr1_sp6_fsm; extern yacco2::State S24_Clr1_sp6_fsm; extern yacco2::State S25_Clr1_sp6_fsm; extern yacco2::State S26_Clr1_sp6_fsm; extern yacco2::State S27_Clr1_sp6_fsm; extern yacco2::State S28_Clr1_sp6_fsm; struct S1std_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S1std_Clr1_sp6_fsm S1st_Clr1_sp6_fsm = { 2 , {// start of table {125,(State*)&S2_Clr1_sp6_fsm} // shift sym: raw_u ,{569,(State*)&S1_Clr1_sp6_fsm} // accept sym: Repi_test }// end of shift table }; yacco2::State S1_Clr1_sp6_fsm = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Clr1_sp6_fsm,0,0,0,0}; struct S2std_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[7]; }; S2std_Clr1_sp6_fsm S2st_Clr1_sp6_fsm = { 7 , {// start of table {105,(State*)&S6_Clr1_sp6_fsm} // shift sym: raw_a ,{108,(State*)&S8_Clr1_sp6_fsm} // shift sym: raw_d ,{570,(State*)&S3_Clr1_sp6_fsm} // shift sym: Repi_rt_bnd_tst ,{573,(State*)&S21_Clr1_sp6_fsm} // shift sym: Rlr1_sp5 ,{574,(State*)&S24_Clr1_sp6_fsm} // shift sym: RS ,{575,(State*)&S25_Clr1_sp6_fsm} // shift sym: RA ,{576,(State*)&S27_Clr1_sp6_fsm} // shift sym: RB }// end of shift table }; yacco2::State S2_Clr1_sp6_fsm = //State's vectored into symbol: "u" {2 ,0,0,0,0,(Shift_tbl*)&S2st_Clr1_sp6_fsm,0,0,0,0}; struct S3std_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S3std_Clr1_sp6_fsm S3st_Clr1_sp6_fsm = { 2 , {// start of table {1,(State*)&S4_Clr1_sp6_fsm} // shift sym: LR1_eog ,{572,(State*)&S5_Clr1_sp6_fsm} // shift sym: Repi_eog }// end of shift table }; yacco2::State S3_Clr1_sp6_fsm = //State's vectored into symbol: "Repi_rt_bnd_tst" {3 ,0,0,0,0,(Shift_tbl*)&S3st_Clr1_sp6_fsm,0,0,0,0}; struct S4rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Clr1_sp6_fsm S4rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA1_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs1_Repi_eog_} }// end of reduce table }; yacco2::State S4_Clr1_sp6_fsm = //State's vectored into symbol: "eog" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Clr1_sp6_fsm,0,0,0}; struct S5rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Clr1_sp6_fsm S5rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA1_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs1_Repi_test_} }// end of reduce table }; yacco2::State S5_Clr1_sp6_fsm = //State's vectored into symbol: "Repi_eog" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Clr1_sp6_fsm,0,0,0}; struct S6std_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S6std_Clr1_sp6_fsm S6st_Clr1_sp6_fsm = { 3 , {// start of table {106,(State*)&S7_Clr1_sp6_fsm} // shift sym: raw_b ,{110,(State*)&S14_Clr1_sp6_fsm} // shift sym: raw_f ,{577,(State*)&S20_Clr1_sp6_fsm} // shift sym: RD }// end of shift table }; yacco2::State S6_Clr1_sp6_fsm = //State's vectored into symbol: "a" {6 ,0,0,0,0,(Shift_tbl*)&S6st_Clr1_sp6_fsm,0,0,0,0}; struct S7std_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S7std_Clr1_sp6_fsm S7st_Clr1_sp6_fsm = { 3 , {// start of table {108,(State*)&S8_Clr1_sp6_fsm} // shift sym: raw_d ,{575,(State*)&S9_Clr1_sp6_fsm} // shift sym: RA ,{576,(State*)&S12_Clr1_sp6_fsm} // shift sym: RB }// end of shift table }; yacco2::State S7_Clr1_sp6_fsm = //State's vectored into symbol: "b" {7 ,0,0,0,0,(Shift_tbl*)&S7st_Clr1_sp6_fsm,0,0,0,0}; struct S8rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[2]; }; S8rtd_Clr1_sp6_fsm S8rt_Clr1_sp6_fsm = { 2 , {// start of table {(Set_tbl*)&LA2_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs1_RB_} ,{(Set_tbl*)&LA3_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs1_RA_} }// end of reduce table }; yacco2::State S8_Clr1_sp6_fsm = //State's vectored into symbol: "d" {8 ,0,0,0,0,0,(Reduce_tbl*)&S8rt_Clr1_sp6_fsm,0,0,0}; struct S9std_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S9std_Clr1_sp6_fsm S9st_Clr1_sp6_fsm = { 2 , {// start of table {130,(State*)&S10_Clr1_sp6_fsm} // shift sym: raw_z ,{578,(State*)&S11_Clr1_sp6_fsm} // shift sym: RE }// end of shift table }; struct S9rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S9rtd_Clr1_sp6_fsm S9rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA4_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs1_RE_} }// end of reduce table }; yacco2::State S9_Clr1_sp6_fsm = //State's vectored into symbol: "RA" {9 ,0,0,0,0,(Shift_tbl*)&S9st_Clr1_sp6_fsm,(Reduce_tbl*)&S9rt_Clr1_sp6_fsm,0,0,0}; struct S10rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S10rtd_Clr1_sp6_fsm S10rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA4_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs2_RE_} }// end of reduce table }; yacco2::State S10_Clr1_sp6_fsm = //State's vectored into symbol: "z" {10 ,0,0,0,0,0,(Reduce_tbl*)&S10rt_Clr1_sp6_fsm,0,0,0}; struct S11rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S11rtd_Clr1_sp6_fsm S11rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA4_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs1_RS_} }// end of reduce table }; yacco2::State S11_Clr1_sp6_fsm = //State's vectored into symbol: "RE" {11 ,0,0,0,0,0,(Reduce_tbl*)&S11rt_Clr1_sp6_fsm,0,0,0}; struct S12std_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S12std_Clr1_sp6_fsm S12st_Clr1_sp6_fsm = { 1 , {// start of table {128,(State*)&S13_Clr1_sp6_fsm} // shift sym: raw_x }// end of shift table }; yacco2::State S12_Clr1_sp6_fsm = //State's vectored into symbol: "RB" {12 ,0,0,0,0,(Shift_tbl*)&S12st_Clr1_sp6_fsm,0,0,0,0}; struct S13rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S13rtd_Clr1_sp6_fsm S13rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA4_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs2_RS_} }// end of reduce table }; yacco2::State S13_Clr1_sp6_fsm = //State's vectored into symbol: "x" {13 ,0,0,0,0,0,(Reduce_tbl*)&S13rt_Clr1_sp6_fsm,0,0,0}; struct S14std_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S14std_Clr1_sp6_fsm S14st_Clr1_sp6_fsm = { 4 , {// start of table {105,(State*)&S15_Clr1_sp6_fsm} // shift sym: raw_a ,{108,(State*)&S8_Clr1_sp6_fsm} // shift sym: raw_d ,{575,(State*)&S17_Clr1_sp6_fsm} // shift sym: RA ,{576,(State*)&S18_Clr1_sp6_fsm} // shift sym: RB }// end of shift table }; yacco2::State S14_Clr1_sp6_fsm = //State's vectored into symbol: "f" {14 ,0,0,0,0,(Shift_tbl*)&S14st_Clr1_sp6_fsm,0,0,0,0}; struct S15std_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S15std_Clr1_sp6_fsm S15st_Clr1_sp6_fsm = { 2 , {// start of table {110,(State*)&S14_Clr1_sp6_fsm} // shift sym: raw_f ,{577,(State*)&S16_Clr1_sp6_fsm} // shift sym: RD }// end of shift table }; yacco2::State S15_Clr1_sp6_fsm = //State's vectored into symbol: "a" {15 ,0,0,0,0,(Shift_tbl*)&S15st_Clr1_sp6_fsm,0,0,0,0}; struct S16rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S16rtd_Clr1_sp6_fsm S16rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA4_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs3_RD_} }// end of reduce table }; yacco2::State S16_Clr1_sp6_fsm = //State's vectored into symbol: "RD" {16 ,0,0,0,0,0,(Reduce_tbl*)&S16rt_Clr1_sp6_fsm,0,0,0}; struct S17rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S17rtd_Clr1_sp6_fsm S17rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA4_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs1_RD_} }// end of reduce table }; yacco2::State S17_Clr1_sp6_fsm = //State's vectored into symbol: "RA" {17 ,0,0,0,0,0,(Reduce_tbl*)&S17rt_Clr1_sp6_fsm,0,0,0}; struct S18std_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S18std_Clr1_sp6_fsm S18st_Clr1_sp6_fsm = { 1 , {// start of table {128,(State*)&S19_Clr1_sp6_fsm} // shift sym: raw_x }// end of shift table }; yacco2::State S18_Clr1_sp6_fsm = //State's vectored into symbol: "RB" {18 ,0,0,0,0,(Shift_tbl*)&S18st_Clr1_sp6_fsm,0,0,0,0}; struct S19rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S19rtd_Clr1_sp6_fsm S19rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA4_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs2_RD_} }// end of reduce table }; yacco2::State S19_Clr1_sp6_fsm = //State's vectored into symbol: "x" {19 ,0,0,0,0,0,(Reduce_tbl*)&S19rt_Clr1_sp6_fsm,0,0,0}; struct S20rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S20rtd_Clr1_sp6_fsm S20rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA4_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs3_RS_} }// end of reduce table }; yacco2::State S20_Clr1_sp6_fsm = //State's vectored into symbol: "RD" {20 ,0,0,0,0,0,(Reduce_tbl*)&S20rt_Clr1_sp6_fsm,0,0,0}; struct S21std_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S21std_Clr1_sp6_fsm S21st_Clr1_sp6_fsm = { 2 , {// start of table {117,(State*)&S22_Clr1_sp6_fsm} // shift sym: raw_m ,{571,(State*)&S23_Clr1_sp6_fsm} // shift sym: Repi }// end of shift table }; struct S21rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S21rtd_Clr1_sp6_fsm S21rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA5_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs1_Repi_} }// end of reduce table }; yacco2::State S21_Clr1_sp6_fsm = //State's vectored into symbol: "Rlr1_sp5" {21 ,0,0,0,0,(Shift_tbl*)&S21st_Clr1_sp6_fsm,(Reduce_tbl*)&S21rt_Clr1_sp6_fsm,0,0,0}; struct S22rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S22rtd_Clr1_sp6_fsm S22rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA5_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs2_Repi_} }// end of reduce table }; yacco2::State S22_Clr1_sp6_fsm = //State's vectored into symbol: "m" {22 ,0,0,0,0,0,(Reduce_tbl*)&S22rt_Clr1_sp6_fsm,0,0,0}; struct S23rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S23rtd_Clr1_sp6_fsm S23rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA5_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs1_Repi_rt_bnd_tst_} }// end of reduce table }; yacco2::State S23_Clr1_sp6_fsm = //State's vectored into symbol: "Repi" {23 ,0,0,0,0,0,(Reduce_tbl*)&S23rt_Clr1_sp6_fsm,0,0,0}; struct S24rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S24rtd_Clr1_sp6_fsm S24rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA4_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs1_Rlr1_sp5_} }// end of reduce table }; yacco2::State S24_Clr1_sp6_fsm = //State's vectored into symbol: "RS" {24 ,0,0,0,0,0,(Reduce_tbl*)&S24rt_Clr1_sp6_fsm,0,0,0}; struct S25std_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S25std_Clr1_sp6_fsm S25st_Clr1_sp6_fsm = { 1 , {// start of table {130,(State*)&S26_Clr1_sp6_fsm} // shift sym: raw_z }// end of shift table }; yacco2::State S25_Clr1_sp6_fsm = //State's vectored into symbol: "RA" {25 ,0,0,0,0,(Shift_tbl*)&S25st_Clr1_sp6_fsm,0,0,0,0}; struct S26rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S26rtd_Clr1_sp6_fsm S26rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA4_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs4_RS_} }// end of reduce table }; yacco2::State S26_Clr1_sp6_fsm = //State's vectored into symbol: "z" {26 ,0,0,0,0,0,(Reduce_tbl*)&S26rt_Clr1_sp6_fsm,0,0,0}; struct S27std_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S27std_Clr1_sp6_fsm S27st_Clr1_sp6_fsm = { 1 , {// start of table {128,(State*)&S28_Clr1_sp6_fsm} // shift sym: raw_x }// end of shift table }; yacco2::State S27_Clr1_sp6_fsm = //State's vectored into symbol: "RB" {27 ,0,0,0,0,(Shift_tbl*)&S27st_Clr1_sp6_fsm,0,0,0,0}; struct S28rtd_Clr1_sp6_fsm{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S28rtd_Clr1_sp6_fsm S28rt_Clr1_sp6_fsm = { 1 , {// start of table {(Set_tbl*)&LA4_Clr1_sp6_fsm,Clr1_sp6_fsm::rhs5_RS_} }// end of reduce table }; yacco2::State S28_Clr1_sp6_fsm = //State's vectored into symbol: "x" {28 ,0,0,0,0,0,(Reduce_tbl*)&S28rt_Clr1_sp6_fsm,0,0,0};