/* File: lr1_k_phrasetbl.cpp Date and Time: Fri Jan 30 18:55:15 2015 */ #include "lr1_k_phrase.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_k_phrase;// grammar's ns // first set terminals // LR1_eolr yacco2::UCHAR LA1_Clr1_k_phrase[] ={ 1 ,0,4 }; extern yacco2::State S1_Clr1_k_phrase; extern yacco2::State S2_Clr1_k_phrase; extern yacco2::State S3_Clr1_k_phrase; struct S3ttd_Clr1_k_phrase{ yacco2::USINT no_entries_; yacco2::Type_pp_fnct_ptr ar_fnct_ptr_; yacco2::ULINT (*thd_id_bit_map_ptr__)[]; yacco2::Thread_entry* thread_entries_[1]; }; S3ttd_Clr1_k_phrase S3tt_Clr1_k_phrase = { 1 // no of threads ,0 //AR_rulename or 0 ,0// ptr to thread id bit map ,(yacco2::Thread_entry*)&ITH_lr1_k_phrase_th }; extern yacco2::State S4_Clr1_k_phrase; extern yacco2::State S5_Clr1_k_phrase; extern yacco2::State S6_Clr1_k_phrase; struct S1std_Clr1_k_phrase{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[4]; }; S1std_Clr1_k_phrase S1st_Clr1_k_phrase = { 4 , {// start of table {0,(State*)&S2_Clr1_k_phrase} // shift sym: LR1_questionable_shift_operator ,{3,(State*)&S3_Clr1_k_phrase} // shift sym: LR1_parallel_operator ,{569,(State*)&S1_Clr1_k_phrase} // accept sym: Rlr1_k_phrase ,{570,(State*)&S6_Clr1_k_phrase} // shift sym: Rphrase }// end of shift table }; yacco2::Shift_entry S1pse_Clr1_k_phrase = {3,(State*)&S3_Clr1_k_phrase}; yacco2::Shift_entry S1qse_Clr1_k_phrase = {0,(State*)&S2_Clr1_k_phrase}; yacco2::State S1_Clr1_k_phrase = //State's vectored into symbol: " No symbol" {1 ,(Shift_entry*)&S1pse_Clr1_k_phrase,0,0,0,(Shift_tbl*)&S1st_Clr1_k_phrase,0,(State_s_thread_tbl*)&S3tt_Clr1_k_phrase,0,(Shift_entry*)&S1qse_Clr1_k_phrase }; struct S2rtd_Clr1_k_phrase{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_Clr1_k_phrase S2rt_Clr1_k_phrase = { 1 , {// start of table {(Set_tbl*)&LA1_Clr1_k_phrase,Clr1_k_phrase::rhs3_Rphrase_} }// end of reduce table }; yacco2::State S2_Clr1_k_phrase = //State's vectored into symbol: "|?|" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_Clr1_k_phrase,0,0,0}; struct S3std_Clr1_k_phrase{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S3std_Clr1_k_phrase S3st_Clr1_k_phrase = { 2 , {// start of table {0,(State*)&S4_Clr1_k_phrase} // shift sym: LR1_questionable_shift_operator ,{336,(State*)&S5_Clr1_k_phrase} // shift sym: T_lr1_k_phrase }// end of shift table }; yacco2::Shift_entry S3qse_Clr1_k_phrase = {0,(State*)&S4_Clr1_k_phrase}; yacco2::State S3_Clr1_k_phrase = //State's vectored into symbol: "|||" {3 ,0,0,0,0,(Shift_tbl*)&S3st_Clr1_k_phrase,0,0,0,(Shift_entry*)&S3qse_Clr1_k_phrase }; struct S4rtd_Clr1_k_phrase{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Clr1_k_phrase S4rt_Clr1_k_phrase = { 1 , {// start of table {(Set_tbl*)&LA1_Clr1_k_phrase,Clr1_k_phrase::rhs2_Rphrase_} }// end of reduce table }; yacco2::State S4_Clr1_k_phrase = //State's vectored into symbol: "|?|" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Clr1_k_phrase,0,0,0}; struct S5rtd_Clr1_k_phrase{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Clr1_k_phrase S5rt_Clr1_k_phrase = { 1 , {// start of table {(Set_tbl*)&LA1_Clr1_k_phrase,Clr1_k_phrase::rhs1_Rphrase_} }// end of reduce table }; yacco2::State S5_Clr1_k_phrase = //State's vectored into symbol: "lr1-k-phrase" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Clr1_k_phrase,0,0,0}; struct S6rtd_Clr1_k_phrase{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Clr1_k_phrase S6rt_Clr1_k_phrase = { 1 , {// start of table {(Set_tbl*)&LA1_Clr1_k_phrase,Clr1_k_phrase::rhs1_Rlr1_k_phrase_} }// end of reduce table }; yacco2::State S6_Clr1_k_phrase = //State's vectored into symbol: "Rphrase" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Clr1_k_phrase,0,0,0};