]> git.ipfire.org Git - thirdparty/strongswan.git/blob - programs/starter/parser.output
- import of strongswan-2.7.0
[thirdparty/strongswan.git] / programs / starter / parser.output
1 Grammar
2
3 0 $accept: config_file $end
4
5 1 config_file: config_file section_or_include
6 2 | /* empty */
7
8 3 section_or_include: VERSION STRING EOL
9
10 4 @1: /* empty */
11
12 5 section_or_include: CONFIG SETUP EOL @1 kw_section
13
14 6 @2: /* empty */
15
16 7 section_or_include: CONN STRING EOL @2 kw_section
17
18 8 @3: /* empty */
19
20 9 section_or_include: CA STRING EOL @3 kw_section
21
22 10 @4: /* empty */
23
24 11 section_or_include: INCLUDE STRING @4 EOL
25 12 | EOL
26
27 13 kw_section: FIRST_SPACES statement_kw EOL kw_section
28 14 | /* empty */
29
30 15 statement_kw: STRING EQUAL STRING
31 16 | STRING EQUAL
32 17 | /* empty */
33
34
35 Terminals, with rules where they appear
36
37 $end (0) 0
38 error (256)
39 EQUAL (258) 15 16
40 FIRST_SPACES (259) 13
41 EOL (260) 3 5 7 9 11 12 13
42 CONFIG (261) 5
43 SETUP (262) 5
44 CONN (263) 7
45 CA (264) 9
46 INCLUDE (265) 11
47 VERSION (266) 3
48 STRING (267) 3 7 9 11 15 16
49
50
51 Nonterminals, with rules where they appear
52
53 $accept (13)
54 on left: 0
55 config_file (14)
56 on left: 1 2, on right: 0 1
57 section_or_include (15)
58 on left: 3 5 7 9 11 12, on right: 1
59 @1 (16)
60 on left: 4, on right: 5
61 @2 (17)
62 on left: 6, on right: 7
63 @3 (18)
64 on left: 8, on right: 9
65 @4 (19)
66 on left: 10, on right: 11
67 kw_section (20)
68 on left: 13 14, on right: 5 7 9 13
69 statement_kw (21)
70 on left: 15 16 17, on right: 13
71
72
73 state 0
74
75 0 $accept: . config_file $end
76
77 $default reduce using rule 2 (config_file)
78
79 config_file go to state 1
80
81
82 state 1
83
84 0 $accept: config_file . $end
85 1 config_file: config_file . section_or_include
86
87 $end shift, and go to state 2
88 EOL shift, and go to state 3
89 CONFIG shift, and go to state 4
90 CONN shift, and go to state 5
91 CA shift, and go to state 6
92 INCLUDE shift, and go to state 7
93 VERSION shift, and go to state 8
94
95 section_or_include go to state 9
96
97
98 state 2
99
100 0 $accept: config_file $end .
101
102 $default accept
103
104
105 state 3
106
107 12 section_or_include: EOL .
108
109 $default reduce using rule 12 (section_or_include)
110
111
112 state 4
113
114 5 section_or_include: CONFIG . SETUP EOL @1 kw_section
115
116 SETUP shift, and go to state 10
117
118
119 state 5
120
121 7 section_or_include: CONN . STRING EOL @2 kw_section
122
123 STRING shift, and go to state 11
124
125
126 state 6
127
128 9 section_or_include: CA . STRING EOL @3 kw_section
129
130 STRING shift, and go to state 12
131
132
133 state 7
134
135 11 section_or_include: INCLUDE . STRING @4 EOL
136
137 STRING shift, and go to state 13
138
139
140 state 8
141
142 3 section_or_include: VERSION . STRING EOL
143
144 STRING shift, and go to state 14
145
146
147 state 9
148
149 1 config_file: config_file section_or_include .
150
151 $default reduce using rule 1 (config_file)
152
153
154 state 10
155
156 5 section_or_include: CONFIG SETUP . EOL @1 kw_section
157
158 EOL shift, and go to state 15
159
160
161 state 11
162
163 7 section_or_include: CONN STRING . EOL @2 kw_section
164
165 EOL shift, and go to state 16
166
167
168 state 12
169
170 9 section_or_include: CA STRING . EOL @3 kw_section
171
172 EOL shift, and go to state 17
173
174
175 state 13
176
177 11 section_or_include: INCLUDE STRING . @4 EOL
178
179 $default reduce using rule 10 (@4)
180
181 @4 go to state 18
182
183
184 state 14
185
186 3 section_or_include: VERSION STRING . EOL
187
188 EOL shift, and go to state 19
189
190
191 state 15
192
193 5 section_or_include: CONFIG SETUP EOL . @1 kw_section
194
195 $default reduce using rule 4 (@1)
196
197 @1 go to state 20
198
199
200 state 16
201
202 7 section_or_include: CONN STRING EOL . @2 kw_section
203
204 $default reduce using rule 6 (@2)
205
206 @2 go to state 21
207
208
209 state 17
210
211 9 section_or_include: CA STRING EOL . @3 kw_section
212
213 $default reduce using rule 8 (@3)
214
215 @3 go to state 22
216
217
218 state 18
219
220 11 section_or_include: INCLUDE STRING @4 . EOL
221
222 EOL shift, and go to state 23
223
224
225 state 19
226
227 3 section_or_include: VERSION STRING EOL .
228
229 $default reduce using rule 3 (section_or_include)
230
231
232 state 20
233
234 5 section_or_include: CONFIG SETUP EOL @1 . kw_section
235
236 FIRST_SPACES shift, and go to state 24
237
238 $default reduce using rule 14 (kw_section)
239
240 kw_section go to state 25
241
242
243 state 21
244
245 7 section_or_include: CONN STRING EOL @2 . kw_section
246
247 FIRST_SPACES shift, and go to state 24
248
249 $default reduce using rule 14 (kw_section)
250
251 kw_section go to state 26
252
253
254 state 22
255
256 9 section_or_include: CA STRING EOL @3 . kw_section
257
258 FIRST_SPACES shift, and go to state 24
259
260 $default reduce using rule 14 (kw_section)
261
262 kw_section go to state 27
263
264
265 state 23
266
267 11 section_or_include: INCLUDE STRING @4 EOL .
268
269 $default reduce using rule 11 (section_or_include)
270
271
272 state 24
273
274 13 kw_section: FIRST_SPACES . statement_kw EOL kw_section
275
276 STRING shift, and go to state 28
277
278 $default reduce using rule 17 (statement_kw)
279
280 statement_kw go to state 29
281
282
283 state 25
284
285 5 section_or_include: CONFIG SETUP EOL @1 kw_section .
286
287 $default reduce using rule 5 (section_or_include)
288
289
290 state 26
291
292 7 section_or_include: CONN STRING EOL @2 kw_section .
293
294 $default reduce using rule 7 (section_or_include)
295
296
297 state 27
298
299 9 section_or_include: CA STRING EOL @3 kw_section .
300
301 $default reduce using rule 9 (section_or_include)
302
303
304 state 28
305
306 15 statement_kw: STRING . EQUAL STRING
307 16 | STRING . EQUAL
308
309 EQUAL shift, and go to state 30
310
311
312 state 29
313
314 13 kw_section: FIRST_SPACES statement_kw . EOL kw_section
315
316 EOL shift, and go to state 31
317
318
319 state 30
320
321 15 statement_kw: STRING EQUAL . STRING
322 16 | STRING EQUAL .
323
324 STRING shift, and go to state 32
325
326 $default reduce using rule 16 (statement_kw)
327
328
329 state 31
330
331 13 kw_section: FIRST_SPACES statement_kw EOL . kw_section
332
333 FIRST_SPACES shift, and go to state 24
334
335 $default reduce using rule 14 (kw_section)
336
337 kw_section go to state 33
338
339
340 state 32
341
342 15 statement_kw: STRING EQUAL STRING .
343
344 $default reduce using rule 15 (statement_kw)
345
346
347 state 33
348
349 13 kw_section: FIRST_SPACES statement_kw EOL kw_section .
350
351 $default reduce using rule 13 (kw_section)