/* File: rtn_componenttbl.cpp Date and Time: Fri Jan 30 18:55:22 2015 */ #include "rtn_component.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_rtn_component;// grammar's ns // first set terminals // LR1_eolr yacco2::UCHAR LA1_Crtn_component[] ={ 1 ,0,4 }; extern yacco2::State S1_Crtn_component; extern yacco2::State S2_Crtn_component; struct S2ttd_Crtn_component{ yacco2::USINT no_entries_; yacco2::Type_pp_fnct_ptr ar_fnct_ptr_; yacco2::ULINT (*thd_id_bit_map_ptr__)[]; yacco2::Thread_entry* thread_entries_[3]; }; S2ttd_Crtn_component S2tt_Crtn_component = { 3 // no of threads ,AR_Rrtn_component //AR_rulename or 0 ,0// ptr to thread id bit map ,(yacco2::Thread_entry*)&ITH_c_string ,(yacco2::Thread_entry*)&ITH_unq_str ,(yacco2::Thread_entry*)&ITH_identifier }; extern yacco2::State S3_Crtn_component; extern yacco2::State S4_Crtn_component; extern yacco2::State S5_Crtn_component; extern yacco2::State S6_Crtn_component; extern yacco2::State S7_Crtn_component; extern yacco2::State S8_Crtn_component; extern yacco2::State S9_Crtn_component; struct S1std_Crtn_component{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[2]; }; S1std_Crtn_component S1st_Crtn_component = { 2 , {// start of table {3,(State*)&S2_Crtn_component} // shift sym: LR1_parallel_operator ,{569,(State*)&S1_Crtn_component} // accept sym: Rrtn_component }// end of shift table }; yacco2::Shift_entry S1pse_Crtn_component = {3,(State*)&S2_Crtn_component}; yacco2::State S1_Crtn_component = //State's vectored into symbol: " No symbol" {1 ,(Shift_entry*)&S1pse_Crtn_component,0,0,0,(Shift_tbl*)&S1st_Crtn_component,0,(State_s_thread_tbl*)&S2tt_Crtn_component,0,0}; struct S2std_Crtn_component{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[7]; }; S2std_Crtn_component S2st_Crtn_component = { 7 , {// start of table {6,(State*)&S3_Crtn_component} // shift sym: LR1_all_shift_operator ,{275,(State*)&S4_Crtn_component} // shift sym: T_c_string ,{277,(State*)&S5_Crtn_component} // shift sym: T_unquoted_string ,{279,(State*)&S6_Crtn_component} // shift sym: T_identifier ,{344,(State*)&S7_Crtn_component} // shift sym: T_in_stbl ,{346,(State*)&S8_Crtn_component} // shift sym: rule_in_stbl ,{367,(State*)&S9_Crtn_component} // shift sym: kw_in_stbl }// end of shift table }; yacco2::Shift_entry S2ase_Crtn_component = {6,(State*)&S3_Crtn_component}; yacco2::State S2_Crtn_component = //State's vectored into symbol: "|||" {2 ,0,(Shift_entry*)&S2ase_Crtn_component ,0,0,(Shift_tbl*)&S2st_Crtn_component,0,0,0,0}; struct S3rtd_Crtn_component{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S3rtd_Crtn_component S3rt_Crtn_component = { 1 , {// start of table {(Set_tbl*)&LA1_Crtn_component,Crtn_component::rhs4_Rrtn_component_} }// end of reduce table }; yacco2::State S3_Crtn_component = //State's vectored into symbol: "|+|" {3 ,0,0,0,0,0,(Reduce_tbl*)&S3rt_Crtn_component,0,0,0}; struct S4rtd_Crtn_component{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Crtn_component S4rt_Crtn_component = { 1 , {// start of table {(Set_tbl*)&LA1_Crtn_component,Crtn_component::rhs2_Rrtn_component_} }// end of reduce table }; yacco2::State S4_Crtn_component = //State's vectored into symbol: "c-string" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Crtn_component,0,0,0}; struct S5rtd_Crtn_component{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Crtn_component S5rt_Crtn_component = { 1 , {// start of table {(Set_tbl*)&LA1_Crtn_component,Crtn_component::rhs3_Rrtn_component_} }// end of reduce table }; yacco2::State S5_Crtn_component = //State's vectored into symbol: "unquoted-string" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Crtn_component,0,0,0}; struct S6rtd_Crtn_component{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Crtn_component S6rt_Crtn_component = { 1 , {// start of table {(Set_tbl*)&LA1_Crtn_component,Crtn_component::rhs1_Rrtn_component_} }// end of reduce table }; yacco2::State S6_Crtn_component = //State's vectored into symbol: "identifier" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Crtn_component,0,0,0}; struct S7rtd_Crtn_component{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S7rtd_Crtn_component S7rt_Crtn_component = { 1 , {// start of table {(Set_tbl*)&LA1_Crtn_component,Crtn_component::rhs5_Rrtn_component_} }// end of reduce table }; yacco2::State S7_Crtn_component = //State's vectored into symbol: "T-in-stbl" {7 ,0,0,0,0,0,(Reduce_tbl*)&S7rt_Crtn_component,0,0,0}; struct S8rtd_Crtn_component{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S8rtd_Crtn_component S8rt_Crtn_component = { 1 , {// start of table {(Set_tbl*)&LA1_Crtn_component,Crtn_component::rhs6_Rrtn_component_} }// end of reduce table }; yacco2::State S8_Crtn_component = //State's vectored into symbol: "rule-in-stbl" {8 ,0,0,0,0,0,(Reduce_tbl*)&S8rt_Crtn_component,0,0,0}; struct S9rtd_Crtn_component{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S9rtd_Crtn_component S9rt_Crtn_component = { 1 , {// start of table {(Set_tbl*)&LA1_Crtn_component,Crtn_component::rhs7_Rrtn_component_} }// end of reduce table }; yacco2::State S9_Crtn_component = //State's vectored into symbol: "kw-in-stbl" {9 ,0,0,0,0,0,(Reduce_tbl*)&S9rt_Crtn_component,0,0,0};