diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/yacco2/qa/TS_la4tbl.cpp |
Initial commit
Diffstat (limited to 'web/yacco2/qa/TS_la4tbl.cpp')
-rw-r--r-- | web/yacco2/qa/TS_la4tbl.cpp | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/web/yacco2/qa/TS_la4tbl.cpp b/web/yacco2/qa/TS_la4tbl.cpp new file mode 100644 index 0000000000..03566e5a3f --- /dev/null +++ b/web/yacco2/qa/TS_la4tbl.cpp @@ -0,0 +1,114 @@ +/* + File: TS_la4tbl.cpp + Date and Time: Sat Oct 11 20:57:13 2014 +*/ +#include "TS_la4.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_la4;// grammar's ns +// first set terminals +// raw_b +yacco2::UCHAR LA1_CTS_la4[] ={ +1 +,13,4 +}; +extern yacco2::State S1_CTS_la4; +extern yacco2::State S2_CTS_la4; +extern yacco2::State S3_CTS_la4; +extern yacco2::State S4_CTS_la4; +extern yacco2::State S5_CTS_la4; +extern yacco2::State S6_CTS_la4; +struct S1std_CTS_la4{ + yacco2::USINT no_entries_; + yacco2::Shift_entry shift_entries_[4]; +}; +S1std_CTS_la4 S1st_CTS_la4 = { + 4 + , + {// start of table + {18,(State*)&S2_CTS_la4} // shift sym: raw_lf + ,{21,(State*)&S3_CTS_la4} // shift sym: raw_cr + ,{569,(State*)&S1_CTS_la4} // accept sym: Reol + ,{570,(State*)&S6_CTS_la4} // shift sym: Rdelimiters + }// end of shift table +}; +yacco2::State S1_CTS_la4 = //State's vectored into symbol: " No symbol" +{1 +,0,0,0,0,(Shift_tbl*)&S1st_CTS_la4,0,0,0,0}; +struct S2rtd_CTS_la4{ + yacco2::USINT no_entries_; + yacco2::Reduce_entry reduce_entries_[1]; +}; +S2rtd_CTS_la4 S2rt_CTS_la4 = { + 1 + , + {// start of table + {(Set_tbl*)&LA1_CTS_la4,CTS_la4::rhs1_Rdelimiters_} + }// end of reduce table +}; +yacco2::State S2_CTS_la4 = //State's vectored into symbol: "x0a" +{2 +,0,0,0,0,0,(Reduce_tbl*)&S2rt_CTS_la4,0,0,0}; +struct S3std_CTS_la4{ + yacco2::USINT no_entries_; + yacco2::Shift_entry shift_entries_[2]; +}; +S3std_CTS_la4 S3st_CTS_la4 = { + 2 + , + {// start of table + {5,(State*)&S4_CTS_la4} // shift sym: LR1_invisible_shift_operator + ,{18,(State*)&S5_CTS_la4} // shift sym: raw_lf + }// end of shift table +}; +yacco2::Shift_entry S3ise_CTS_la4 = {5,(State*)&S4_CTS_la4}; +yacco2::State S3_CTS_la4 = //State's vectored into symbol: "x0d" +{3 +,0,0,(Shift_entry*)&S3ise_CTS_la4 +,0,(Shift_tbl*)&S3st_CTS_la4,0,0,0,0}; +struct S4rtd_CTS_la4{ + yacco2::USINT no_entries_; + yacco2::Reduce_entry reduce_entries_[1]; +}; +S4rtd_CTS_la4 S4rt_CTS_la4 = { + 1 + , + {// start of table + {(Set_tbl*)&LA1_CTS_la4,CTS_la4::rhs2_Rdelimiters_} + }// end of reduce table +}; +yacco2::State S4_CTS_la4 = //State's vectored into symbol: "|.|" +{4 +,0,0,0,0,0,(Reduce_tbl*)&S4rt_CTS_la4,0,0,0}; +struct S5rtd_CTS_la4{ + yacco2::USINT no_entries_; + yacco2::Reduce_entry reduce_entries_[1]; +}; +S5rtd_CTS_la4 S5rt_CTS_la4 = { + 1 + , + {// start of table + {(Set_tbl*)&LA1_CTS_la4,CTS_la4::rhs3_Rdelimiters_} + }// end of reduce table +}; +yacco2::State S5_CTS_la4 = //State's vectored into symbol: "x0a" +{5 +,0,0,0,0,0,(Reduce_tbl*)&S5rt_CTS_la4,0,0,0}; +struct S6rtd_CTS_la4{ + yacco2::USINT no_entries_; + yacco2::Reduce_entry reduce_entries_[1]; +}; +S6rtd_CTS_la4 S6rt_CTS_la4 = { + 1 + , + {// start of table + {(Set_tbl*)&LA1_CTS_la4,CTS_la4::rhs1_Reol_} + }// end of reduce table +}; +yacco2::State S6_CTS_la4 = //State's vectored into symbol: "Rdelimiters" +{6 +,0,0,0,0,0,(Reduce_tbl*)&S6rt_CTS_la4,0,0,0}; |