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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
|
/*
File: lr1_pa2tbl.cpp
Date and Time: Mon Oct 13 18:18:14 2014
*/
#include "lr1_pa2.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_lr1_pa2;// grammar's ns
// first set terminals
// LR1_eog
yacco2::UCHAR LA1_Clr1_pa2_rul_fsm[] ={
1
,0,2
};
// LR1_eolr
yacco2::UCHAR LA2_Clr1_pa2_rul_fsm[] ={
1
,0,4
};
// raw_d
// raw_e
yacco2::UCHAR LA3_Clr1_pa2_rul_fsm[] ={
1
,13,48
};
// raw_c
// raw_d
yacco2::UCHAR LA4_Clr1_pa2_rul_fsm[] ={
1
,13,24
};
extern yacco2::State S1_Clr1_pa2_rul_fsm;
extern yacco2::State S2_Clr1_pa2_rul_fsm;
extern yacco2::State S3_Clr1_pa2_rul_fsm;
extern yacco2::State S4_Clr1_pa2_rul_fsm;
extern yacco2::State S5_Clr1_pa2_rul_fsm;
extern yacco2::State S6_Clr1_pa2_rul_fsm;
extern yacco2::State S7_Clr1_pa2_rul_fsm;
extern yacco2::State S8_Clr1_pa2_rul_fsm;
extern yacco2::State S9_Clr1_pa2_rul_fsm;
extern yacco2::State S10_Clr1_pa2_rul_fsm;
extern yacco2::State S11_Clr1_pa2_rul_fsm;
extern yacco2::State S12_Clr1_pa2_rul_fsm;
extern yacco2::State S13_Clr1_pa2_rul_fsm;
extern yacco2::State S14_Clr1_pa2_rul_fsm;
extern yacco2::State S15_Clr1_pa2_rul_fsm;
extern yacco2::State S16_Clr1_pa2_rul_fsm;
extern yacco2::State S17_Clr1_pa2_rul_fsm;
struct S1std_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Shift_entry shift_entries_[4];
};
S1std_Clr1_pa2_rul_fsm S1st_Clr1_pa2_rul_fsm = {
4
,
{// start of table
{105,(State*)&S2_Clr1_pa2_rul_fsm} // shift sym: raw_a
,{106,(State*)&S7_Clr1_pa2_rul_fsm} // shift sym: raw_b
,{569,(State*)&S1_Clr1_pa2_rul_fsm} // accept sym: Rlr1_pa2
,{570,(State*)&S12_Clr1_pa2_rul_fsm} // shift sym: RX
}// end of shift table
};
yacco2::State S1_Clr1_pa2_rul_fsm = //State's vectored into symbol: " No symbol"
{1
,0,0,0,0,(Shift_tbl*)&S1st_Clr1_pa2_rul_fsm,0,0,0,0};
struct S2std_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Shift_entry shift_entries_[3];
};
S2std_Clr1_pa2_rul_fsm S2st_Clr1_pa2_rul_fsm = {
3
,
{// start of table
{124,(State*)&S14_Clr1_pa2_rul_fsm} // shift sym: raw_t
,{571,(State*)&S3_Clr1_pa2_rul_fsm} // shift sym: RY
,{572,(State*)&S5_Clr1_pa2_rul_fsm} // shift sym: RZ
}// end of shift table
};
yacco2::State S2_Clr1_pa2_rul_fsm = //State's vectored into symbol: "a"
{2
,0,0,0,0,(Shift_tbl*)&S2st_Clr1_pa2_rul_fsm,0,0,0,0};
struct S3std_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Shift_entry shift_entries_[1];
};
S3std_Clr1_pa2_rul_fsm S3st_Clr1_pa2_rul_fsm = {
1
,
{// start of table
{108,(State*)&S4_Clr1_pa2_rul_fsm} // shift sym: raw_d
}// end of shift table
};
yacco2::State S3_Clr1_pa2_rul_fsm = //State's vectored into symbol: "RY"
{3
,0,0,0,0,(Shift_tbl*)&S3st_Clr1_pa2_rul_fsm,0,0,0,0};
struct S4rtd_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Reduce_entry reduce_entries_[1];
};
S4rtd_Clr1_pa2_rul_fsm S4rt_Clr1_pa2_rul_fsm = {
1
,
{// start of table
{(Set_tbl*)&LA1_Clr1_pa2_rul_fsm,Clr1_pa2_rul_fsm::rhs1_RX_}
}// end of reduce table
};
yacco2::State S4_Clr1_pa2_rul_fsm = //State's vectored into symbol: "d"
{4
,0,0,0,0,0,(Reduce_tbl*)&S4rt_Clr1_pa2_rul_fsm,0,0,0};
struct S5std_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Shift_entry shift_entries_[1];
};
S5std_Clr1_pa2_rul_fsm S5st_Clr1_pa2_rul_fsm = {
1
,
{// start of table
{107,(State*)&S6_Clr1_pa2_rul_fsm} // shift sym: raw_c
}// end of shift table
};
yacco2::State S5_Clr1_pa2_rul_fsm = //State's vectored into symbol: "RZ"
{5
,0,0,0,0,(Shift_tbl*)&S5st_Clr1_pa2_rul_fsm,0,0,0,0};
struct S6rtd_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Reduce_entry reduce_entries_[1];
};
S6rtd_Clr1_pa2_rul_fsm S6rt_Clr1_pa2_rul_fsm = {
1
,
{// start of table
{(Set_tbl*)&LA1_Clr1_pa2_rul_fsm,Clr1_pa2_rul_fsm::rhs2_RX_}
}// end of reduce table
};
yacco2::State S6_Clr1_pa2_rul_fsm = //State's vectored into symbol: "c"
{6
,0,0,0,0,0,(Reduce_tbl*)&S6rt_Clr1_pa2_rul_fsm,0,0,0};
struct S7std_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Shift_entry shift_entries_[3];
};
S7std_Clr1_pa2_rul_fsm S7st_Clr1_pa2_rul_fsm = {
3
,
{// start of table
{124,(State*)&S14_Clr1_pa2_rul_fsm} // shift sym: raw_t
,{571,(State*)&S8_Clr1_pa2_rul_fsm} // shift sym: RY
,{572,(State*)&S10_Clr1_pa2_rul_fsm} // shift sym: RZ
}// end of shift table
};
yacco2::State S7_Clr1_pa2_rul_fsm = //State's vectored into symbol: "b"
{7
,0,0,0,0,(Shift_tbl*)&S7st_Clr1_pa2_rul_fsm,0,0,0,0};
struct S8std_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Shift_entry shift_entries_[1];
};
S8std_Clr1_pa2_rul_fsm S8st_Clr1_pa2_rul_fsm = {
1
,
{// start of table
{109,(State*)&S9_Clr1_pa2_rul_fsm} // shift sym: raw_e
}// end of shift table
};
yacco2::State S8_Clr1_pa2_rul_fsm = //State's vectored into symbol: "RY"
{8
,0,0,0,0,(Shift_tbl*)&S8st_Clr1_pa2_rul_fsm,0,0,0,0};
struct S9rtd_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Reduce_entry reduce_entries_[1];
};
S9rtd_Clr1_pa2_rul_fsm S9rt_Clr1_pa2_rul_fsm = {
1
,
{// start of table
{(Set_tbl*)&LA1_Clr1_pa2_rul_fsm,Clr1_pa2_rul_fsm::rhs3_RX_}
}// end of reduce table
};
yacco2::State S9_Clr1_pa2_rul_fsm = //State's vectored into symbol: "e"
{9
,0,0,0,0,0,(Reduce_tbl*)&S9rt_Clr1_pa2_rul_fsm,0,0,0};
struct S10std_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Shift_entry shift_entries_[1];
};
S10std_Clr1_pa2_rul_fsm S10st_Clr1_pa2_rul_fsm = {
1
,
{// start of table
{108,(State*)&S11_Clr1_pa2_rul_fsm} // shift sym: raw_d
}// end of shift table
};
yacco2::State S10_Clr1_pa2_rul_fsm = //State's vectored into symbol: "RZ"
{10
,0,0,0,0,(Shift_tbl*)&S10st_Clr1_pa2_rul_fsm,0,0,0,0};
struct S11rtd_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Reduce_entry reduce_entries_[1];
};
S11rtd_Clr1_pa2_rul_fsm S11rt_Clr1_pa2_rul_fsm = {
1
,
{// start of table
{(Set_tbl*)&LA1_Clr1_pa2_rul_fsm,Clr1_pa2_rul_fsm::rhs4_RX_}
}// end of reduce table
};
yacco2::State S11_Clr1_pa2_rul_fsm = //State's vectored into symbol: "d"
{11
,0,0,0,0,0,(Reduce_tbl*)&S11rt_Clr1_pa2_rul_fsm,0,0,0};
struct S12std_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Shift_entry shift_entries_[1];
};
S12std_Clr1_pa2_rul_fsm S12st_Clr1_pa2_rul_fsm = {
1
,
{// start of table
{1,(State*)&S13_Clr1_pa2_rul_fsm} // shift sym: LR1_eog
}// end of shift table
};
yacco2::State S12_Clr1_pa2_rul_fsm = //State's vectored into symbol: "RX"
{12
,0,0,0,0,(Shift_tbl*)&S12st_Clr1_pa2_rul_fsm,0,0,0,0};
struct S13rtd_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Reduce_entry reduce_entries_[1];
};
S13rtd_Clr1_pa2_rul_fsm S13rt_Clr1_pa2_rul_fsm = {
1
,
{// start of table
{(Set_tbl*)&LA2_Clr1_pa2_rul_fsm,Clr1_pa2_rul_fsm::rhs1_Rlr1_pa2_}
}// end of reduce table
};
yacco2::State S13_Clr1_pa2_rul_fsm = //State's vectored into symbol: "eog"
{13
,0,0,0,0,0,(Reduce_tbl*)&S13rt_Clr1_pa2_rul_fsm,0,0,0};
struct S14std_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Shift_entry shift_entries_[1];
};
S14std_Clr1_pa2_rul_fsm S14st_Clr1_pa2_rul_fsm = {
1
,
{// start of table
{125,(State*)&S15_Clr1_pa2_rul_fsm} // shift sym: raw_u
}// end of shift table
};
yacco2::State S14_Clr1_pa2_rul_fsm = //State's vectored into symbol: "t"
{14
,0,0,0,0,(Shift_tbl*)&S14st_Clr1_pa2_rul_fsm,0,0,0,0};
struct S15std_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Shift_entry shift_entries_[2];
};
S15std_Clr1_pa2_rul_fsm S15st_Clr1_pa2_rul_fsm = {
2
,
{// start of table
{126,(State*)&S16_Clr1_pa2_rul_fsm} // shift sym: raw_v
,{127,(State*)&S17_Clr1_pa2_rul_fsm} // shift sym: raw_w
}// end of shift table
};
yacco2::State S15_Clr1_pa2_rul_fsm = //State's vectored into symbol: "u"
{15
,0,0,0,0,(Shift_tbl*)&S15st_Clr1_pa2_rul_fsm,0,0,0,0};
struct S16rtd_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Reduce_entry reduce_entries_[1];
};
S16rtd_Clr1_pa2_rul_fsm S16rt_Clr1_pa2_rul_fsm = {
1
,
{// start of table
{(Set_tbl*)&LA3_Clr1_pa2_rul_fsm,Clr1_pa2_rul_fsm::rhs1_RY_}
}// end of reduce table
};
yacco2::State S16_Clr1_pa2_rul_fsm = //State's vectored into symbol: "v"
{16
,0,0,0,0,0,(Reduce_tbl*)&S16rt_Clr1_pa2_rul_fsm,0,0,0};
struct S17rtd_Clr1_pa2_rul_fsm{
yacco2::USINT no_entries_;
yacco2::Reduce_entry reduce_entries_[1];
};
S17rtd_Clr1_pa2_rul_fsm S17rt_Clr1_pa2_rul_fsm = {
1
,
{// start of table
{(Set_tbl*)&LA4_Clr1_pa2_rul_fsm,Clr1_pa2_rul_fsm::rhs1_RZ_}
}// end of reduce table
};
yacco2::State S17_Clr1_pa2_rul_fsm = //State's vectored into symbol: "w"
{17
,0,0,0,0,0,(Reduce_tbl*)&S17rt_Clr1_pa2_rul_fsm,0,0,0};
|