summaryrefslogtreecommitdiff
path: root/web/yacco2/qa/not_lr1_1tbl.cpp
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/yacco2/qa/not_lr1_1tbl.cpp
Initial commit
Diffstat (limited to 'web/yacco2/qa/not_lr1_1tbl.cpp')
-rw-r--r--web/yacco2/qa/not_lr1_1tbl.cpp86
1 files changed, 86 insertions, 0 deletions
diff --git a/web/yacco2/qa/not_lr1_1tbl.cpp b/web/yacco2/qa/not_lr1_1tbl.cpp
new file mode 100644
index 0000000000..e6b94369b3
--- /dev/null
+++ b/web/yacco2/qa/not_lr1_1tbl.cpp
@@ -0,0 +1,86 @@
+/*
+ File: not_lr1_1tbl.cpp
+ Date and Time: Mon Oct 13 18:18:15 2014
+*/
+#include "not_lr1_1.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_not_lr1_1;// grammar's ns
+// first set terminals
+// LR1_eog
+yacco2::UCHAR LA1_Cnot_lr1_1[] ={
+1
+,0,2
+};
+// LR1_eolr
+yacco2::UCHAR LA2_Cnot_lr1_1[] ={
+1
+,0,4
+};
+extern yacco2::State S1_Cnot_lr1_1;
+extern yacco2::State S2_Cnot_lr1_1;
+extern yacco2::State S3_Cnot_lr1_1;
+extern yacco2::State S4_Cnot_lr1_1;
+struct S1std_Cnot_lr1_1{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[3];
+};
+S1std_Cnot_lr1_1 S1st_Cnot_lr1_1 = {
+ 3
+ ,
+ {// start of table
+ {105,(State*)&S2_Cnot_lr1_1} // shift sym: raw_a
+ ,{569,(State*)&S1_Cnot_lr1_1} // accept sym: Rnot_lr1_1
+ ,{570,(State*)&S3_Cnot_lr1_1} // shift sym: RS1
+ }// end of shift table
+};
+yacco2::State S1_Cnot_lr1_1 = //State's vectored into symbol: " No symbol"
+{1
+,0,0,0,0,(Shift_tbl*)&S1st_Cnot_lr1_1,0,0,0,0};
+struct S2rtd_Cnot_lr1_1{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[2];
+};
+S2rtd_Cnot_lr1_1 S2rt_Cnot_lr1_1 = {
+ 2
+ ,
+ {// start of table
+ {(Set_tbl*)&LA1_Cnot_lr1_1,Cnot_lr1_1::rhs1_RS1_}
+ ,{(Set_tbl*)&LA1_Cnot_lr1_1,Cnot_lr1_1::rhs2_RS1_}
+ }// end of reduce table
+};
+yacco2::State S2_Cnot_lr1_1 = //State's vectored into symbol: "a"
+{2
+,0,0,0,0,0,(Reduce_tbl*)&S2rt_Cnot_lr1_1,0,0,0};
+struct S3std_Cnot_lr1_1{
+ yacco2::USINT no_entries_;
+ yacco2::Shift_entry shift_entries_[1];
+};
+S3std_Cnot_lr1_1 S3st_Cnot_lr1_1 = {
+ 1
+ ,
+ {// start of table
+ {1,(State*)&S4_Cnot_lr1_1} // shift sym: LR1_eog
+ }// end of shift table
+};
+yacco2::State S3_Cnot_lr1_1 = //State's vectored into symbol: "RS1"
+{3
+,0,0,0,0,(Shift_tbl*)&S3st_Cnot_lr1_1,0,0,0,0};
+struct S4rtd_Cnot_lr1_1{
+ yacco2::USINT no_entries_;
+ yacco2::Reduce_entry reduce_entries_[1];
+};
+S4rtd_Cnot_lr1_1 S4rt_Cnot_lr1_1 = {
+ 1
+ ,
+ {// start of table
+ {(Set_tbl*)&LA2_Cnot_lr1_1,Cnot_lr1_1::rhs1_Rnot_lr1_1_}
+ }// end of reduce table
+};
+yacco2::State S4_Cnot_lr1_1 = //State's vectored into symbol: "eog"
+{4
+,0,0,0,0,0,(Reduce_tbl*)&S4rt_Cnot_lr1_1,0,0,0};