/* File: t_alphabettbl.cpp Date and Time: Fri Jan 30 18:55:25 2015 */ #include "t_alphabet.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_t_alphabet;// grammar's ns // first set terminals // LR1_questionable_shift_operator // T_identifier yacco2::UCHAR LA1_Ct_alphabet[] ={ 2 ,0,1 ,34,128 }; // LR1_eog yacco2::UCHAR LA2_Ct_alphabet[] ={ 1 ,0,2 }; // LR1_questionable_shift_operator // T_identifier // T_end_T_alphabet yacco2::UCHAR LA3_Ct_alphabet[] ={ 3 ,0,1 ,34,128 ,45,2 }; // LR1_eolr yacco2::UCHAR LA4_Ct_alphabet[] ={ 1 ,0,4 }; extern yacco2::State S1_Ct_alphabet; extern yacco2::State S2_Ct_alphabet; extern yacco2::State S3_Ct_alphabet; extern yacco2::State S4_Ct_alphabet; extern yacco2::State S5_Ct_alphabet; extern yacco2::State S6_Ct_alphabet; extern yacco2::State S7_Ct_alphabet; extern yacco2::State S8_Ct_alphabet; extern yacco2::State S9_Ct_alphabet; extern yacco2::State S10_Ct_alphabet; extern yacco2::State S11_Ct_alphabet; extern yacco2::State S12_Ct_alphabet; extern yacco2::State S13_Ct_alphabet; extern yacco2::State S14_Ct_alphabet; struct S1std_Ct_alphabet{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S1std_Ct_alphabet S1st_Ct_alphabet = { 4 , {// start of table {0,(State*)&S2_Ct_alphabet} // shift sym: LR1_questionable_shift_operator ,{360,(State*)&S3_Ct_alphabet} // shift sym: T_T_alphabet ,{569,(State*)&S1_Ct_alphabet} // accept sym: Rt_alphabet ,{571,(State*)&S4_Ct_alphabet} // shift sym: RT_alphabet }// end of shift table }; yacco2::Shift_entry S1qse_Ct_alphabet = {0,(State*)&S2_Ct_alphabet}; yacco2::State S1_Ct_alphabet = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_Ct_alphabet,0,0,0,(Shift_entry*)&S1qse_Ct_alphabet }; struct S2rtd_Ct_alphabet{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Ct_alphabet S2rt_Ct_alphabet = { 1 , {// start of table {(Set_tbl*)&LA1_Ct_alphabet,Ct_alphabet::rhs2_RT_alphabet_} }// end of reduce table }; yacco2::State S2_Ct_alphabet = //State's vectored into symbol: "|?|" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_Ct_alphabet,0,0,0}; struct S3rtd_Ct_alphabet{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S3rtd_Ct_alphabet S3rt_Ct_alphabet = { 1 , {// start of table {(Set_tbl*)&LA1_Ct_alphabet,Ct_alphabet::rhs1_RT_alphabet_} }// end of reduce table }; yacco2::State S3_Ct_alphabet = //State's vectored into symbol: "T-alphabet" {3 ,0,0,0,0,0,(Reduce_tbl*)&S3rt_Ct_alphabet,0,0,0}; struct S4std_Ct_alphabet{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S4std_Ct_alphabet S4st_Ct_alphabet = { 4 , {// start of table {0,(State*)&S12_Ct_alphabet} // shift sym: LR1_questionable_shift_operator ,{279,(State*)&S7_Ct_alphabet} // shift sym: T_identifier ,{572,(State*)&S5_Ct_alphabet} // shift sym: Rlist_of_Ts ,{573,(State*)&S14_Ct_alphabet} // shift sym: Ra_T }// end of shift table }; yacco2::Shift_entry S4qse_Ct_alphabet = {0,(State*)&S12_Ct_alphabet}; yacco2::State S4_Ct_alphabet = //State's vectored into symbol: "RT_alphabet" {4 ,0,0,0,0,(Shift_tbl*)&S4st_Ct_alphabet,0,0,0,(Shift_entry*)&S4qse_Ct_alphabet }; struct S5std_Ct_alphabet{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[5]; }; S5std_Ct_alphabet S5st_Ct_alphabet = { 5 , {// start of table {0,(State*)&S6_Ct_alphabet} // shift sym: LR1_questionable_shift_operator ,{279,(State*)&S7_Ct_alphabet} // shift sym: T_identifier ,{361,(State*)&S8_Ct_alphabet} // shift sym: T_end_T_alphabet ,{573,(State*)&S13_Ct_alphabet} // shift sym: Ra_T ,{574,(State*)&S9_Ct_alphabet} // shift sym: Rend_T_alphabet }// end of shift table }; yacco2::Shift_entry S5qse_Ct_alphabet = {0,(State*)&S6_Ct_alphabet}; yacco2::State S5_Ct_alphabet = //State's vectored into symbol: "Rlist_of_Ts" {5 ,0,0,0,0,(Shift_tbl*)&S5st_Ct_alphabet,0,0,0,(Shift_entry*)&S5qse_Ct_alphabet }; struct S6rtd_Ct_alphabet{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Ct_alphabet S6rt_Ct_alphabet = { 1 , {// start of table {(Set_tbl*)&LA2_Ct_alphabet,Ct_alphabet::rhs2_Rend_T_alphabet_} }// end of reduce table }; yacco2::State S6_Ct_alphabet = //State's vectored into symbol: "|?|" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Ct_alphabet,0,0,0}; struct S7rtd_Ct_alphabet{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S7rtd_Ct_alphabet S7rt_Ct_alphabet = { 1 , {// start of table {(Set_tbl*)&LA3_Ct_alphabet,Ct_alphabet::rhs1_Ra_T_} }// end of reduce table }; yacco2::State S7_Ct_alphabet = //State's vectored into symbol: "identifier" {7 ,0,0,0,0,0,(Reduce_tbl*)&S7rt_Ct_alphabet,0,0,0}; struct S8rtd_Ct_alphabet{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S8rtd_Ct_alphabet S8rt_Ct_alphabet = { 1 , {// start of table {(Set_tbl*)&LA2_Ct_alphabet,Ct_alphabet::rhs1_Rend_T_alphabet_} }// end of reduce table }; yacco2::State S8_Ct_alphabet = //State's vectored into symbol: "end-T-alphabet" {8 ,0,0,0,0,0,(Reduce_tbl*)&S8rt_Ct_alphabet,0,0,0}; struct S9std_Ct_alphabet{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S9std_Ct_alphabet S9st_Ct_alphabet = { 2 , {// start of table {1,(State*)&S10_Ct_alphabet} // shift sym: LR1_eog ,{570,(State*)&S11_Ct_alphabet} // shift sym: Reog }// end of shift table }; yacco2::State S9_Ct_alphabet = //State's vectored into symbol: "Rend_T_alphabet" {9 ,0,0,0,0,(Shift_tbl*)&S9st_Ct_alphabet,0,0,0,0}; struct S10rtd_Ct_alphabet{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S10rtd_Ct_alphabet S10rt_Ct_alphabet = { 1 , {// start of table {(Set_tbl*)&LA4_Ct_alphabet,Ct_alphabet::rhs1_Reog_} }// end of reduce table }; yacco2::State S10_Ct_alphabet = //State's vectored into symbol: "eog" {10 ,0,0,0,0,0,(Reduce_tbl*)&S10rt_Ct_alphabet,0,0,0}; struct S11rtd_Ct_alphabet{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S11rtd_Ct_alphabet S11rt_Ct_alphabet = { 1 , {// start of table {(Set_tbl*)&LA4_Ct_alphabet,Ct_alphabet::rhs1_Rt_alphabet_} }// end of reduce table }; yacco2::State S11_Ct_alphabet = //State's vectored into symbol: "Reog" {11 ,0,0,0,0,0,(Reduce_tbl*)&S11rt_Ct_alphabet,0,0,0}; struct S12rtd_Ct_alphabet{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S12rtd_Ct_alphabet S12rt_Ct_alphabet = { 1 , {// start of table {(Set_tbl*)&LA3_Ct_alphabet,Ct_alphabet::rhs3_Rlist_of_Ts_} }// end of reduce table }; yacco2::State S12_Ct_alphabet = //State's vectored into symbol: "|?|" {12 ,0,0,0,0,0,(Reduce_tbl*)&S12rt_Ct_alphabet,0,0,0}; struct S13rtd_Ct_alphabet{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S13rtd_Ct_alphabet S13rt_Ct_alphabet = { 1 , {// start of table {(Set_tbl*)&LA3_Ct_alphabet,Ct_alphabet::rhs2_Rlist_of_Ts_} }// end of reduce table }; yacco2::State S13_Ct_alphabet = //State's vectored into symbol: "Ra_T" {13 ,0,0,0,0,0,(Reduce_tbl*)&S13rt_Ct_alphabet,0,0,0}; struct S14rtd_Ct_alphabet{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S14rtd_Ct_alphabet S14rt_Ct_alphabet = { 1 , {// start of table {(Set_tbl*)&LA3_Ct_alphabet,Ct_alphabet::rhs1_Rlist_of_Ts_} }// end of reduce table }; yacco2::State S14_Ct_alphabet = //State's vectored into symbol: "Ra_T" {14 ,0,0,0,0,0,(Reduce_tbl*)&S14rt_Ct_alphabet,0,0,0};