summaryrefslogtreecommitdiff
path: root/web/yacco2/grammar-testsuite/testout_err_hdlrtbl.cpp
blob: 3e5c80c3fba7d79c94e61f1b69e1ee6820cfdc15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
/*
 File: testout_err_hdlrtbl.cpp
 Date and Time: Sat Jan 31 11:59:00 2015 
*/
#include "testout_err_hdlr.h"
using namespace NS_testout_T_enum;// enumerate
using namespace NS_testout_err_symbols;// error symbols
using namespace NS_yacco2_k_symbols;// lrk 
using namespace NS_testout_terminals;// terminals
using namespace NS_yacco2_characters;// rc 
using namespace yacco2;// yacco2 library
using namespace NS_testout_err_hdlr;// grammar's ns
// first set terminals
// LR1_eolr
yacco2::UCHAR LA1_Ctestout_err_hdlr[] ={
1
,0,4
};
// LR1_eog
// LR1_all_shift_operator
// Err_no_filename
// Err_bad_filename
yacco2::UCHAR LA2_Ctestout_err_hdlr[] ={
2
,0,66
,33,12
};
extern yacco2::State S1_Ctestout_err_hdlr;
extern yacco2::State S2_Ctestout_err_hdlr;
extern yacco2::State S3_Ctestout_err_hdlr;
extern yacco2::State S4_Ctestout_err_hdlr;
extern yacco2::State S5_Ctestout_err_hdlr;
extern yacco2::State S6_Ctestout_err_hdlr;
extern yacco2::State S7_Ctestout_err_hdlr;
extern yacco2::State S8_Ctestout_err_hdlr;
extern yacco2::State S9_Ctestout_err_hdlr;
struct S1std_Ctestout_err_hdlr{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[7];
};
S1std_Ctestout_err_hdlr S1st_Ctestout_err_hdlr = {
 7
 ,
  {// start of table
   {1,(State*)&S2_Ctestout_err_hdlr} // shift sym: LR1_eog
   ,{6,(State*)&S3_Ctestout_err_hdlr} // shift sym: LR1_all_shift_operator
   ,{266,(State*)&S4_Ctestout_err_hdlr} // shift sym: Err_no_filename
   ,{267,(State*)&S5_Ctestout_err_hdlr} // shift sym: Err_bad_filename
   ,{269,(State*)&S1_Ctestout_err_hdlr} // accept sym: Rtestout_err_hdlr
   ,{270,(State*)&S6_Ctestout_err_hdlr} // shift sym: Rerrors
   ,{271,(State*)&S9_Ctestout_err_hdlr} // shift sym: Rerror
  }// end of shift table
};
yacco2::Shift_entry S1ase_Ctestout_err_hdlr = {6,(State*)&S3_Ctestout_err_hdlr};
yacco2::State S1_Ctestout_err_hdlr = //State's vectored into symbol: " No symbol" 
{1
,0,(Shift_entry*)&S1ase_Ctestout_err_hdlr
,0,0,(Shift_tbl*)&S1st_Ctestout_err_hdlr,0,0,0,0};
struct S2rtd_Ctestout_err_hdlr{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S2rtd_Ctestout_err_hdlr S2rt_Ctestout_err_hdlr = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA1_Ctestout_err_hdlr,Ctestout_err_hdlr::rhs2_Rtestout_err_hdlr_}
 }// end of reduce table
};
yacco2::State S2_Ctestout_err_hdlr = //State's vectored into symbol: "eog" 
{2
,0,0,0,0,0,(Reduce_tbl*)&S2rt_Ctestout_err_hdlr,0,0,0};
struct S3rtd_Ctestout_err_hdlr{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S3rtd_Ctestout_err_hdlr S3rt_Ctestout_err_hdlr = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA2_Ctestout_err_hdlr,Ctestout_err_hdlr::rhs3_Rerror_}
 }// end of reduce table
};
yacco2::State S3_Ctestout_err_hdlr = //State's vectored into symbol: "|+|" 
{3
,0,0,0,0,0,(Reduce_tbl*)&S3rt_Ctestout_err_hdlr,0,0,0};
struct S4rtd_Ctestout_err_hdlr{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S4rtd_Ctestout_err_hdlr S4rt_Ctestout_err_hdlr = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA2_Ctestout_err_hdlr,Ctestout_err_hdlr::rhs1_Rerror_}
 }// end of reduce table
};
yacco2::State S4_Ctestout_err_hdlr = //State's vectored into symbol: "no filename" 
{4
,0,0,0,0,0,(Reduce_tbl*)&S4rt_Ctestout_err_hdlr,0,0,0};
struct S5rtd_Ctestout_err_hdlr{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S5rtd_Ctestout_err_hdlr S5rt_Ctestout_err_hdlr = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA2_Ctestout_err_hdlr,Ctestout_err_hdlr::rhs2_Rerror_}
 }// end of reduce table
};
yacco2::State S5_Ctestout_err_hdlr = //State's vectored into symbol: "bad filename" 
{5
,0,0,0,0,0,(Reduce_tbl*)&S5rt_Ctestout_err_hdlr,0,0,0};
struct S6std_Ctestout_err_hdlr{
  yacco2::USINT no_entries_;
  yacco2::Shift_entry shift_entries_[5];
};
S6std_Ctestout_err_hdlr S6st_Ctestout_err_hdlr = {
 5
 ,
  {// start of table
   {1,(State*)&S7_Ctestout_err_hdlr} // shift sym: LR1_eog
   ,{6,(State*)&S3_Ctestout_err_hdlr} // shift sym: LR1_all_shift_operator
   ,{266,(State*)&S4_Ctestout_err_hdlr} // shift sym: Err_no_filename
   ,{267,(State*)&S5_Ctestout_err_hdlr} // shift sym: Err_bad_filename
   ,{271,(State*)&S8_Ctestout_err_hdlr} // shift sym: Rerror
  }// end of shift table
};
yacco2::Shift_entry S6ase_Ctestout_err_hdlr = {6,(State*)&S3_Ctestout_err_hdlr};
yacco2::State S6_Ctestout_err_hdlr = //State's vectored into symbol: "Rerrors" 
{6
,0,(Shift_entry*)&S6ase_Ctestout_err_hdlr
,0,0,(Shift_tbl*)&S6st_Ctestout_err_hdlr,0,0,0,0};
struct S7rtd_Ctestout_err_hdlr{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S7rtd_Ctestout_err_hdlr S7rt_Ctestout_err_hdlr = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA1_Ctestout_err_hdlr,Ctestout_err_hdlr::rhs1_Rtestout_err_hdlr_}
 }// end of reduce table
};
yacco2::State S7_Ctestout_err_hdlr = //State's vectored into symbol: "eog" 
{7
,0,0,0,0,0,(Reduce_tbl*)&S7rt_Ctestout_err_hdlr,0,0,0};
struct S8rtd_Ctestout_err_hdlr{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S8rtd_Ctestout_err_hdlr S8rt_Ctestout_err_hdlr = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA2_Ctestout_err_hdlr,Ctestout_err_hdlr::rhs2_Rerrors_}
 }// end of reduce table
};
yacco2::State S8_Ctestout_err_hdlr = //State's vectored into symbol: "Rerror" 
{8
,0,0,0,0,0,(Reduce_tbl*)&S8rt_Ctestout_err_hdlr,0,0,0};
struct S9rtd_Ctestout_err_hdlr{
 yacco2::USINT no_entries_;
 yacco2::Reduce_entry reduce_entries_[1];
};
S9rtd_Ctestout_err_hdlr S9rt_Ctestout_err_hdlr = {
 1
 ,
 {// start of table
  {(Set_tbl*)&LA2_Ctestout_err_hdlr,Ctestout_err_hdlr::rhs1_Rerrors_}
 }// end of reduce table
};
yacco2::State S9_Ctestout_err_hdlr = //State's vectored into symbol: "Rerror" 
{9
,0,0,0,0,0,(Reduce_tbl*)&S9rt_Ctestout_err_hdlr,0,0,0};