/* File: not_lr1_2tbl.cpp Date and Time: Mon Oct 13 18:18:15 2014 */ #include "not_lr1_2.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_not_lr1_2;// grammar's ns // first set terminals // LR1_eolr yacco2::UCHAR LA1_Cnot_lr1_2[] ={ 1 ,0,4 }; // LR1_eog yacco2::UCHAR LA2_Cnot_lr1_2[] ={ 1 ,0,2 }; extern yacco2::State S1_Cnot_lr1_2; extern yacco2::State S2_Cnot_lr1_2; extern yacco2::State S3_Cnot_lr1_2; extern yacco2::State S4_Cnot_lr1_2; extern yacco2::State S5_Cnot_lr1_2; extern yacco2::State S6_Cnot_lr1_2; extern yacco2::State S7_Cnot_lr1_2; struct S1std_Cnot_lr1_2{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S1std_Cnot_lr1_2 S1st_Cnot_lr1_2 = { 2 , {// start of table {105,(State*)&S2_Cnot_lr1_2} // shift sym: raw_a ,{569,(State*)&S1_Cnot_lr1_2} // accept sym: Rnot_lr1_2 }// end of shift table }; yacco2::State S1_Cnot_lr1_2 = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Cnot_lr1_2,0,0,0,0}; struct S2std_Cnot_lr1_2{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S2std_Cnot_lr1_2 S2st_Cnot_lr1_2 = { 4 , {// start of table {105,(State*)&S5_Cnot_lr1_2} // shift sym: raw_a ,{570,(State*)&S3_Cnot_lr1_2} // shift sym: RS0 ,{571,(State*)&S6_Cnot_lr1_2} // shift sym: RS1 ,{572,(State*)&S7_Cnot_lr1_2} // shift sym: RS2 }// end of shift table }; yacco2::State S2_Cnot_lr1_2 = //State's vectored into symbol: "a" {2 ,0,0,0,0,(Shift_tbl*)&S2st_Cnot_lr1_2,0,0,0,0}; struct S3std_Cnot_lr1_2{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S3std_Cnot_lr1_2 S3st_Cnot_lr1_2 = { 1 , {// start of table {1,(State*)&S4_Cnot_lr1_2} // shift sym: LR1_eog }// end of shift table }; yacco2::State S3_Cnot_lr1_2 = //State's vectored into symbol: "RS0" {3 ,0,0,0,0,(Shift_tbl*)&S3st_Cnot_lr1_2,0,0,0,0}; struct S4rtd_Cnot_lr1_2{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Cnot_lr1_2 S4rt_Cnot_lr1_2 = { 1 , {// start of table {(Set_tbl*)&LA1_Cnot_lr1_2,Cnot_lr1_2::rhs1_Rnot_lr1_2_} }// end of reduce table }; yacco2::State S4_Cnot_lr1_2 = //State's vectored into symbol: "eog" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Cnot_lr1_2,0,0,0}; struct S5rtd_Cnot_lr1_2{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[2]; }; S5rtd_Cnot_lr1_2 S5rt_Cnot_lr1_2 = { 2 , {// start of table {(Set_tbl*)&LA2_Cnot_lr1_2,Cnot_lr1_2::rhs1_RS1_} ,{(Set_tbl*)&LA2_Cnot_lr1_2,Cnot_lr1_2::rhs1_RS2_} }// end of reduce table }; yacco2::State S5_Cnot_lr1_2 = //State's vectored into symbol: "a" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Cnot_lr1_2,0,0,0}; struct S6rtd_Cnot_lr1_2{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Cnot_lr1_2 S6rt_Cnot_lr1_2 = { 1 , {// start of table {(Set_tbl*)&LA2_Cnot_lr1_2,Cnot_lr1_2::rhs1_RS0_} }// end of reduce table }; yacco2::State S6_Cnot_lr1_2 = //State's vectored into symbol: "RS1" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Cnot_lr1_2,0,0,0}; struct S7rtd_Cnot_lr1_2{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S7rtd_Cnot_lr1_2 S7rt_Cnot_lr1_2 = { 1 , {// start of table {(Set_tbl*)&LA2_Cnot_lr1_2,Cnot_lr1_2::rhs2_RS0_} }// end of reduce table }; yacco2::State S7_Cnot_lr1_2 = //State's vectored into symbol: "RS2" {7 ,0,0,0,0,0,(Reduce_tbl*)&S7rt_Cnot_lr1_2,0,0,0};