/* File: la_expr_srctbl.cpp Date and Time: Fri Jan 30 18:55:13 2015 */ #include "la_expr_src.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_la_expr_src;// grammar's ns // first set terminals // LR1_eog // LR1_reduce_operator // LR1_invisible_shift_operator // LR1_all_shift_operator // raw_plus // raw_minus yacco2::UCHAR LA1_Cla_expr_src[] ={ 2 ,0,114 ,6,40 }; // LR1_eog yacco2::UCHAR LA2_Cla_expr_src[] ={ 1 ,0,2 }; extern yacco2::State S1_Cla_expr_src; extern yacco2::State S2_Cla_expr_src; struct S2ttd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Type_pp_fnct_ptr ar_fnct_ptr_; yacco2::ULINT (*thd_id_bit_map_ptr__)[]; yacco2::Thread_entry* thread_entries_[6]; }; S2ttd_Cla_expr_src S2tt_Cla_expr_src = { 6 // no of threads ,0 //AR_rulename or 0 ,0// ptr to thread id bit map ,(yacco2::Thread_entry*)&ITH_la_lrk_T ,(yacco2::Thread_entry*)&ITH_c_literal ,(yacco2::Thread_entry*)&ITH_c_string ,(yacco2::Thread_entry*)&ITH_identifier ,(yacco2::Thread_entry*)&ITH_o2_code_end ,(yacco2::Thread_entry*)&ITH_lint_balls }; extern yacco2::State S3_Cla_expr_src; extern yacco2::State S4_Cla_expr_src; extern yacco2::State S5_Cla_expr_src; extern yacco2::State S6_Cla_expr_src; extern yacco2::State S7_Cla_expr_src; extern yacco2::State S8_Cla_expr_src; extern yacco2::State S9_Cla_expr_src; extern yacco2::State S10_Cla_expr_src; extern yacco2::State S11_Cla_expr_src; extern yacco2::State S12_Cla_expr_src; extern yacco2::State S13_Cla_expr_src; extern yacco2::State S14_Cla_expr_src; extern yacco2::State S15_Cla_expr_src; extern yacco2::State S16_Cla_expr_src; extern yacco2::State S17_Cla_expr_src; extern yacco2::State S18_Cla_expr_src; extern yacco2::State S19_Cla_expr_src; struct S1std_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[9]; }; S1std_Cla_expr_src S1st_Cla_expr_src = { 9 , {// start of table {3,(State*)&S2_Cla_expr_src} // shift sym: LR1_parallel_operator ,{5,(State*)&S12_Cla_expr_src} // shift sym: LR1_invisible_shift_operator ,{6,(State*)&S13_Cla_expr_src} // shift sym: LR1_all_shift_operator ,{51,(State*)&S14_Cla_expr_src} // shift sym: raw_plus ,{53,(State*)&S15_Cla_expr_src} // shift sym: raw_minus ,{569,(State*)&S1_Cla_expr_src} // accept sym: Rla_expr_src ,{570,(State*)&S16_Cla_expr_src} // shift sym: Rtoks ,{571,(State*)&S19_Cla_expr_src} // shift sym: Rtok ,{572,(State*)&S18_Cla_expr_src} // shift sym: Rlint }// end of shift table }; yacco2::Shift_entry S1pse_Cla_expr_src = {3,(State*)&S2_Cla_expr_src}; yacco2::Shift_entry S1ise_Cla_expr_src = {5,(State*)&S12_Cla_expr_src}; yacco2::Shift_entry S1ase_Cla_expr_src = {6,(State*)&S13_Cla_expr_src}; yacco2::State S1_Cla_expr_src = //State's vectored into symbol: " No symbol" {1 ,(Shift_entry*)&S1pse_Cla_expr_src,(Shift_entry*)&S1ase_Cla_expr_src ,(Shift_entry*)&S1ise_Cla_expr_src ,0,(Shift_tbl*)&S1st_Cla_expr_src,0,(State_s_thread_tbl*)&S2tt_Cla_expr_src,0,0}; struct S2std_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[9]; }; S2std_Cla_expr_src S2st_Cla_expr_src = { 9 , {// start of table {6,(State*)&S3_Cla_expr_src} // shift sym: LR1_all_shift_operator ,{274,(State*)&S4_Cla_expr_src} // shift sym: T_c_literal ,{275,(State*)&S5_Cla_expr_src} // shift sym: T_c_string ,{279,(State*)&S6_Cla_expr_src} // shift sym: T_identifier ,{284,(State*)&S7_Cla_expr_src} // shift sym: T_eocode ,{375,(State*)&S8_Cla_expr_src} // shift sym: T_lint ,{394,(State*)&S9_Cla_expr_src} // shift sym: Err_bad_eos ,{395,(State*)&S10_Cla_expr_src} // shift sym: Err_bad_esc ,{396,(State*)&S11_Cla_expr_src} // shift sym: Err_comment_overrun }// end of shift table }; yacco2::Shift_entry S2ase_Cla_expr_src = {6,(State*)&S3_Cla_expr_src}; yacco2::State S2_Cla_expr_src = //State's vectored into symbol: "|||" {2 ,0,(Shift_entry*)&S2ase_Cla_expr_src ,0,0,(Shift_tbl*)&S2st_Cla_expr_src,0,0,0,0}; struct S3rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S3rtd_Cla_expr_src S3rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs9_Rtok_} }// end of reduce table }; yacco2::State S3_Cla_expr_src = //State's vectored into symbol: "|+|" {3 ,0,0,0,0,0,(Reduce_tbl*)&S3rt_Cla_expr_src,0,0,0}; struct S4rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_Cla_expr_src S4rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs2_Rtok_} }// end of reduce table }; yacco2::State S4_Cla_expr_src = //State's vectored into symbol: "c-literal" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_Cla_expr_src,0,0,0}; struct S5rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S5rtd_Cla_expr_src S5rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs1_Rtok_} }// end of reduce table }; yacco2::State S5_Cla_expr_src = //State's vectored into symbol: "c-string" {5 ,0,0,0,0,0,(Reduce_tbl*)&S5rt_Cla_expr_src,0,0,0}; struct S6rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S6rtd_Cla_expr_src S6rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs4_Rtok_} }// end of reduce table }; yacco2::State S6_Cla_expr_src = //State's vectored into symbol: "identifier" {6 ,0,0,0,0,0,(Reduce_tbl*)&S6rt_Cla_expr_src,0,0,0}; struct S7rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S7rtd_Cla_expr_src S7rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs3_Rtok_} }// end of reduce table }; yacco2::State S7_Cla_expr_src = //State's vectored into symbol: "#***" {7 ,0,0,0,0,0,(Reduce_tbl*)&S7rt_Cla_expr_src,0,0,0}; struct S8rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S8rtd_Cla_expr_src S8rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs1_Rlint_} }// end of reduce table }; yacco2::State S8_Cla_expr_src = //State's vectored into symbol: "lint" {8 ,0,0,0,0,0,(Reduce_tbl*)&S8rt_Cla_expr_src,0,0,0}; struct S9rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S9rtd_Cla_expr_src S9rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs6_Rtok_} }// end of reduce table }; yacco2::State S9_Cla_expr_src = //State's vectored into symbol: "bad eos" {9 ,0,0,0,0,0,(Reduce_tbl*)&S9rt_Cla_expr_src,0,0,0}; struct S10rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S10rtd_Cla_expr_src S10rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs7_Rtok_} }// end of reduce table }; yacco2::State S10_Cla_expr_src = //State's vectored into symbol: "bad esc" {10 ,0,0,0,0,0,(Reduce_tbl*)&S10rt_Cla_expr_src,0,0,0}; struct S11rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S11rtd_Cla_expr_src S11rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs8_Rtok_} }// end of reduce table }; yacco2::State S11_Cla_expr_src = //State's vectored into symbol: "comment-overrun" {11 ,0,0,0,0,0,(Reduce_tbl*)&S11rt_Cla_expr_src,0,0,0}; struct S12rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S12rtd_Cla_expr_src S12rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs2_Rlint_} }// end of reduce table }; yacco2::State S12_Cla_expr_src = //State's vectored into symbol: "|.|" {12 ,0,0,0,0,0,(Reduce_tbl*)&S12rt_Cla_expr_src,0,0,0}; struct S13rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S13rtd_Cla_expr_src S13rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs5_Rtok_} }// end of reduce table }; yacco2::State S13_Cla_expr_src = //State's vectored into symbol: "|+|" {13 ,0,0,0,0,0,(Reduce_tbl*)&S13rt_Cla_expr_src,0,0,0}; struct S14rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S14rtd_Cla_expr_src S14rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs10_Rtok_} }// end of reduce table }; yacco2::State S14_Cla_expr_src = //State's vectored into symbol: "+" {14 ,0,0,0,0,0,(Reduce_tbl*)&S14rt_Cla_expr_src,0,0,0}; struct S15rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S15rtd_Cla_expr_src S15rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs11_Rtok_} }// end of reduce table }; yacco2::State S15_Cla_expr_src = //State's vectored into symbol: "-" {15 ,0,0,0,0,0,(Reduce_tbl*)&S15rt_Cla_expr_src,0,0,0}; struct S16std_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[7]; }; S16std_Cla_expr_src S16st_Cla_expr_src = { 7 , {// start of table {3,(State*)&S2_Cla_expr_src} // shift sym: LR1_parallel_operator ,{5,(State*)&S12_Cla_expr_src} // shift sym: LR1_invisible_shift_operator ,{6,(State*)&S13_Cla_expr_src} // shift sym: LR1_all_shift_operator ,{51,(State*)&S14_Cla_expr_src} // shift sym: raw_plus ,{53,(State*)&S15_Cla_expr_src} // shift sym: raw_minus ,{571,(State*)&S17_Cla_expr_src} // shift sym: Rtok ,{572,(State*)&S18_Cla_expr_src} // shift sym: Rlint }// end of shift table }; yacco2::Shift_entry S16pse_Cla_expr_src = {3,(State*)&S2_Cla_expr_src}; yacco2::Shift_entry S16ise_Cla_expr_src = {5,(State*)&S12_Cla_expr_src}; yacco2::Shift_entry S16ase_Cla_expr_src = {6,(State*)&S13_Cla_expr_src}; struct S16rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S16rtd_Cla_expr_src S16rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA2_Cla_expr_src,Cla_expr_src::rhs1_Rla_expr_src_} }// end of reduce table }; yacco2::State S16_Cla_expr_src = //State's vectored into symbol: "Rtoks" {16 ,(Shift_entry*)&S16pse_Cla_expr_src,(Shift_entry*)&S16ase_Cla_expr_src ,(Shift_entry*)&S16ise_Cla_expr_src ,0,(Shift_tbl*)&S16st_Cla_expr_src,(Reduce_tbl*)&S16rt_Cla_expr_src,(State_s_thread_tbl*)&S2tt_Cla_expr_src,0,0}; struct S17rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S17rtd_Cla_expr_src S17rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs2_Rtoks_} }// end of reduce table }; yacco2::State S17_Cla_expr_src = //State's vectored into symbol: "Rtok" {17 ,0,0,0,0,0,(Reduce_tbl*)&S17rt_Cla_expr_src,0,0,0}; struct S18rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S18rtd_Cla_expr_src S18rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs12_Rtok_} }// end of reduce table }; yacco2::State S18_Cla_expr_src = //State's vectored into symbol: "Rlint" {18 ,0,0,0,0,0,(Reduce_tbl*)&S18rt_Cla_expr_src,0,0,0}; struct S19rtd_Cla_expr_src{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S19rtd_Cla_expr_src S19rt_Cla_expr_src = { 1 , {// start of table {(Set_tbl*)&LA1_Cla_expr_src,Cla_expr_src::rhs1_Rtoks_} }// end of reduce table }; yacco2::State S19_Cla_expr_src = //State's vectored into symbol: "Rtok" {19 ,0,0,0,0,0,(Reduce_tbl*)&S19rt_Cla_expr_src,0,0,0};