/* File: TS_path1atbl.cpp Date and Time: Sat Oct 11 20:57:24 2014 */ #include "TS_path1a.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_TS_path1a;// grammar's ns // first set terminals // LR1_eog yacco2::UCHAR LA1_CTS_path1a[] ={ 1 ,0,2 }; // LR1_eolr yacco2::UCHAR LA2_CTS_path1a[] ={ 1 ,0,4 }; extern yacco2::State S1_CTS_path1a; extern yacco2::State S2_CTS_path1a; extern yacco2::State S3_CTS_path1a; extern yacco2::State S4_CTS_path1a; struct S1std_CTS_path1a{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[3]; }; S1std_CTS_path1a S1st_CTS_path1a = { 3 , {// start of table {128,(State*)&S2_CTS_path1a} // shift sym: raw_x ,{569,(State*)&S1_CTS_path1a} // accept sym: Rstart ,{570,(State*)&S3_CTS_path1a} // shift sym: RA }// end of shift table }; yacco2::State S1_CTS_path1a = //State's vectored into symbol: " No symbol" {1 ,0,0,0,0,(Shift_tbl*)&S1st_CTS_path1a,0,0,0,0}; struct S2rtd_CTS_path1a{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S2rtd_CTS_path1a S2rt_CTS_path1a = { 1 , {// start of table {(Set_tbl*)&LA1_CTS_path1a,CTS_path1a::rhs2_RA_} }// end of reduce table }; yacco2::State S2_CTS_path1a = //State's vectored into symbol: "x" {2 ,0,0,0,0,0,(Reduce_tbl*)&S2rt_CTS_path1a,0,0,0}; struct S3std_CTS_path1a{ yacco2::USINT no_entries_; yacco2::Shift_entry shift_entries_[1]; }; S3std_CTS_path1a S3st_CTS_path1a = { 1 , {// start of table {1,(State*)&S4_CTS_path1a} // shift sym: LR1_eog }// end of shift table }; struct S3rtd_CTS_path1a{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S3rtd_CTS_path1a S3rt_CTS_path1a = { 1 , {// start of table {(Set_tbl*)&LA1_CTS_path1a,CTS_path1a::rhs1_RA_} }// end of reduce table }; yacco2::State S3_CTS_path1a = //State's vectored into symbol: "RA" {3 ,0,0,0,0,(Shift_tbl*)&S3st_CTS_path1a,(Reduce_tbl*)&S3rt_CTS_path1a,0,0,0}; struct S4rtd_CTS_path1a{ yacco2::USINT no_entries_; yacco2::Reduce_entry reduce_entries_[1]; }; S4rtd_CTS_path1a S4rt_CTS_path1a = { 1 , {// start of table {(Set_tbl*)&LA2_CTS_path1a,CTS_path1a::rhs1_Rstart_} }// end of reduce table }; yacco2::State S4_CTS_path1a = //State's vectored into symbol: "eog" {4 ,0,0,0,0,0,(Reduce_tbl*)&S4rt_CTS_path1a,0,0,0};