Debian Codegraph @

src/parser/config_dsl.grammar.c

raw
1 /* A recursive-descent parser generated by peg 0.1.20 */
2
3 #include <stdio.h>
4 #include <stdlib.h>
5 #include <string.h>
6 #define YYRULECOUNT 47
7 #ifndef YY_MALLOC
8 #define YY_MALLOC(C, N) malloc(N)
9 #endif
10 #ifndef YY_REALLOC
11 #define YY_REALLOC(C, P, N) realloc(P, N)
12 #endif
13 #ifndef YY_FREE
14 #define YY_FREE(C, P) free(P)
15 #endif
16 #ifndef YY_LOCAL
17 #define YY_LOCAL(T) static T
18 #endif
19 #ifndef YY_ACTION
20 #define YY_ACTION(T) static T
21 #endif
22 #ifndef YY_RULE
23 #define YY_RULE(T) static T
24 #endif
25 #ifndef YY_PARSE
26 #define YY_PARSE(T) T
27 #endif
28 #ifndef YYPARSE
29 #define YYPARSE yyparse
30 #endif
31 #ifndef YYPARSEFROM_R
32 #define YYPARSEFROM_R yyparsefrom_r
33 #endif
34 #ifndef YYPARSEFROM
35 #define YYPARSEFROM yyparsefrom
36 #endif
37 #ifndef YYRELEASE
38 #define YYRELEASE yyrelease
39 #endif
40 #ifndef YY_BEGIN
41 #define YY_BEGIN ( yy->__begin= yy->__pos, 1)
42 #endif
43 #ifndef YY_END
44 #define YY_END ( yy->__end= yy->__pos, 1)
45 #endif
46 #ifdef YY_DEBUG
47 # define yyprintf(args) fprintf args
48 #else
49 # define yyprintf(args)
50 #endif
51 #ifndef YYSTYPE
52 #define YYSTYPE int
53 #endif
54 #ifndef YY_STACK_SIZE
55 #define YY_STACK_SIZE 128
56 #endif
57
58 #ifndef YY_BUFFER_SIZE
59 #define YY_BUFFER_SIZE 1024
60 #endif
61
62 #ifndef YY_PART
63
64 typedef struct _yycontext yycontext;
65 typedef void (*yyaction)(yycontext *yy, char *yytext, int yyleng);
66 typedef struct _yythunk { int begin, end; yyaction action; struct _yythunk *next; } yythunk;
67
68 struct _yycontext {
69 char *__buf;
70 int __buflen;
71 int __pos;
72 int __limit;
73 char *__text;
74 int __textlen;
75 int __begin;
76 int __end;
77 int __textmax;
78 yythunk *__thunks;
79 int __thunkslen;
80 int __thunkpos;
81 YYSTYPE __;
82 YYSTYPE *__val;
83 YYSTYPE *__vals;
84 int __valslen;
85 #ifdef YY_CTX_MEMBERS
86 YY_CTX_MEMBERS
87 #endif
88 };
89
90 #ifdef YY_CTX_LOCAL
91 #define YY_CTX_PARAM_ yycontext *yyctx,
92 #define YY_CTX_PARAM yycontext *yyctx
93 #define YY_CTX_ARG_ yyctx,
94 #define YY_CTX_ARG yyctx
95 #ifndef YY_INPUT
96 #define YY_INPUT(yy, buf, result, max_size) \
97 { \
98 int yyc= getchar(); \
99 result= (EOF == yyc) ? 0 : (*(buf)= yyc, 1); \
100 yyprintf((stderr, "<%c>", yyc)); \
101 }
102 #endif
103 #else
104 #define YY_CTX_PARAM_
105 #define YY_CTX_PARAM
106 #define YY_CTX_ARG_
107 #define YY_CTX_ARG
108 yycontext _yyctx= { 0, 0 };
109 yycontext *yyctx= &_yyctx;
110 #ifndef YY_INPUT
111 #define YY_INPUT(buf, result, max_size) \
112 { \
113 int yyc= getchar(); \
114 result= (EOF == yyc) ? 0 : (*(buf)= yyc, 1); \
115 yyprintf((stderr, "<%c>", yyc)); \
116 }
117 #endif
118 #endif
119
120 YY_LOCAL(int) yyrefill(yycontext *yy)
121 {
122 int yyn;
123 while (yy->__buflen - yy->__pos < 512)
124 {
125 yy->__buflen *= 2;
126 yy->__buf= (char *)YY_REALLOC(yy, yy->__buf, yy->__buflen);
127 }
128 #ifdef YY_CTX_LOCAL
129 YY_INPUT(yy, (yy->__buf + yy->__pos), yyn, (yy->__buflen - yy->__pos));
130 #else
131 YY_INPUT((yy->__buf + yy->__pos), yyn, (yy->__buflen - yy->__pos));
132 #endif
133 if (!yyn) return 0;
134 yy->__limit += yyn;
135 return 1;
136 }
137
138 YY_LOCAL(int) yymatchDot(yycontext *yy)
139 {
140 if (yy->__pos >= yy->__limit && !yyrefill(yy)) return 0;
141 ++yy->__pos;
142 return 1;
143 }
144
145 YY_LOCAL(int) yymatchChar(yycontext *yy, int c)
146 {
147 if (yy->__pos >= yy->__limit && !yyrefill(yy)) return 0;
148 if ((unsigned char)yy->__buf[yy->__pos] == c)
149 {
150 ++yy->__pos;
151 yyprintf((stderr, " ok yymatchChar(yy, %c) @ %s\n", c, yy->__buf+yy->__pos));
152 return 1;
153 }
154 yyprintf((stderr, " fail yymatchChar(yy, %c) @ %s\n", c, yy->__buf+yy->__pos));
155 return 0;
156 }
157
158 YY_LOCAL(int) yymatchString(yycontext *yy, const char *s)
159 {
160 int yysav= yy->__pos;
161 while (*s)
162 {
163 if (yy->__pos >= yy->__limit && !yyrefill(yy)) return 0;
164 if (yy->__buf[yy->__pos] != *s)
165 {
166 yy->__pos= yysav;
167 return 0;
168 }
169 ++s;
170 ++yy->__pos;
171 }
172 return 1;
173 }
174
175 YY_LOCAL(int) yymatchClass(yycontext *yy, unsigned char *bits)
176 {
177 int c;
178 if (yy->__pos >= yy->__limit && !yyrefill(yy)) return 0;
179 c= (unsigned char)yy->__buf[yy->__pos];
180 if (bits[c >> 3] & (1 << (c & 7)))
181 {
182 ++yy->__pos;
183 yyprintf((stderr, " ok yymatchClass @ %s\n", yy->__buf+yy->__pos));
184 return 1;
185 }
186 yyprintf((stderr, " fail yymatchClass @ %s\n", yy->__buf+yy->__pos));
187 return 0;
188 }
189
190 YY_LOCAL(void) yyDo(yycontext *yy, yyaction action, int begin, int end)
191 {
192 while (yy->__thunkpos >= yy->__thunkslen)
193 {
194 yy->__thunkslen *= 2;
195 yy->__thunks= (yythunk *)YY_REALLOC(yy, yy->__thunks, sizeof(yythunk) * yy->__thunkslen);
196 }
197 yy->__thunks[yy->__thunkpos].begin= begin;
198 yy->__thunks[yy->__thunkpos].end= end;
199 yy->__thunks[yy->__thunkpos].action= action;
200 ++yy->__thunkpos;
201 }
202
203 YY_LOCAL(int) yyText(yycontext *yy, int begin, int end)
204 {
205 int yyleng= end - begin;
206 if (yyleng <= 0)
207 yyleng= 0;
208 else
209 {
210 while (yy->__textlen < (yyleng + 1))
211 {
212 yy->__textlen *= 2;
213 yy->__text= (char *)YY_REALLOC(yy, yy->__text, yy->__textlen);
214 }
215 memcpy(yy->__text, yy->__buf + begin, yyleng);
216 }
217 yy->__text[yyleng]= '\0';
218 return yyleng;
219 }
220
221 YY_LOCAL(void) yyDone(yycontext *yy, int yythunkpos)
222 {
223 int pos;
224 for (pos= yythunkpos; pos < yy->__thunkpos; ++pos)
225 {
226 yythunk *thunk= &yy->__thunks[pos];
227 int yyleng= thunk->end ? yyText(yy, thunk->begin, thunk->end) : thunk->begin;
228 yyprintf((stderr, "DO [%d] %p %s\n", pos, thunk->action, yy->__text));
229 thunk->action(yy, yy->__text, yyleng);
230 }
231 yy->__thunkpos= 0;
232 }
233
234 YY_LOCAL(void) yyCommit(yycontext *yy)
235 {
236 if ((yy->__limit -= yy->__pos))
237 {
238 memmove(yy->__buf, yy->__buf + yy->__pos, yy->__limit);
239 }
240 yy->__begin -= yy->__pos;
241 yy->__end -= yy->__pos;
242 yy->__pos= yy->__thunkpos= 0;
243 }
244
245 YY_LOCAL(int) yyAccept(yycontext *yy, int tp0)
246 {
247 if (tp0)
248 {
249 fprintf(stderr, "accept denied at %d\n", tp0);
250 return 0;
251 }
252 else
253 {
254 yyDone(yy, 0);
255 yyCommit(yy);
256 }
257 return 1;
258 }
259
260 YY_LOCAL(void) yyPush(yycontext *yy, char *text, int count)
261 {
262 yy->__val += count;
263 while (yy->__valslen <= yy->__val - yy->__vals)
264 {
265 long offset= yy->__val - yy->__vals;
266 yy->__valslen *= 2;
267 yy->__vals= (YYSTYPE *)YY_REALLOC(yy, yy->__vals, sizeof(YYSTYPE) * yy->__valslen);
268 yy->__val= yy->__vals + offset;
269 }
270 }
271 YY_LOCAL(void) yyPop(yycontext *yy, char *text, int count) { yy->__val -= count; }
272 YY_LOCAL(void) yySet(yycontext *yy, char *text, int count) { yy->__val[count]= yy->__; }
273
274 #endif /* YY_PART */
275
276 #define YYACCEPT yyAccept(yy, yythunkpos0)
277
278 #define yyEnter(YY, N) yyPush(YY, 0, N)
279 #define yyLeave(YY, N) yyPop (YY, 0, N)
280
281 YY_RULE(int) yy_EscapedPCRE(yycontext *yy); /* 47 */
282 YY_RULE(int) yy_PCRE(yycontext *yy); /* 46 */
283 YY_RULE(int) yy_Value(yycontext *yy); /* 45 */
284 YY_RULE(int) yy_ValueList(yycontext *yy); /* 44 */
285 YY_RULE(int) yy_Digit(yycontext *yy); /* 43 */
286 YY_RULE(int) yy_Iccprofile(yycontext *yy); /* 42 */
287 YY_RULE(int) yy_Datetime(yycontext *yy); /* 41 */
288 YY_RULE(int) yy_ValueReference(yycontext *yy); /* 40 */
289 YY_RULE(int) yy_Dot(yycontext *yy); /* 39 */
290 YY_RULE(int) yy_OptDepends(yycontext *yy); /* 38 */
291 YY_RULE(int) yy_IfDepends(yycontext *yy); /* 37 */
292 YY_RULE(int) yy_Space(yycontext *yy); /* 36 */
293 YY_RULE(int) yy_TagReference(yycontext *yy); /* 35 */
294 YY_RULE(int) yy_Content(yycontext *yy); /* 34 */
295 YY_RULE(int) yy_Requirements(yycontext *yy); /* 33 */
296 YY_RULE(int) yy_Semicolon(yycontext *yy); /* 32 */
297 YY_RULE(int) yy_Tag(yycontext *yy); /* 31 */
298 YY_RULE(int) yy_Colon(yycontext *yy); /* 30 */
299 YY_RULE(int) yy_PrintableAscii(yycontext *yy); /* 29 */
300 YY_RULE(int) yy_FullAscii(yycontext *yy); /* 28 */
301 YY_RULE(int) yy_RegEx(yycontext *yy); /* 27 */
302 YY_RULE(int) yy_NTupel(yycontext *yy); /* 26 */
303 YY_RULE(int) yy_Number(yycontext *yy); /* 25 */
304 YY_RULE(int) yy_Only(yycontext *yy); /* 24 */
305 YY_RULE(int) yy_Range(yycontext *yy); /* 23 */
306 YY_RULE(int) yy_Any(yycontext *yy); /* 22 */
307 YY_RULE(int) yy_LogicalOrListElement(yycontext *yy); /* 21 */
308 YY_RULE(int) yy_LogicalOrClose(yycontext *yy); /* 20 */
309 YY_RULE(int) yy_LogicalOrList(yycontext *yy); /* 19 */
310 YY_RULE(int) yy_LogicalOrOpen(yycontext *yy); /* 18 */
311 YY_RULE(int) yy_LogicalOr(yycontext *yy); /* 17 */
312 YY_RULE(int) yy_Mode(yycontext *yy); /* 16 */
313 YY_RULE(int) yy_Subpath(yycontext *yy); /* 15 */
314 YY_RULE(int) yy_SlashorBackslash(yycontext *yy); /* 14 */
315 YY_RULE(int) yy_ClosingBracket(yycontext *yy); /* 13 */
316 YY_RULE(int) yy_Path(yycontext *yy); /* 12 */
317 YY_RULE(int) yy_OpenBracket(yycontext *yy); /* 11 */
318 YY_RULE(int) yy_SpaceLine(yycontext *yy); /* 10 */
319 YY_RULE(int) yy_CommentLine(yycontext *yy); /* 9 */
320 YY_RULE(int) yy_IncludeLine(yycontext *yy); /* 8 */
321 YY_RULE(int) yy_ModeLine(yycontext *yy); /* 7 */
322 YY_RULE(int) yy_TagLine(yycontext *yy); /* 6 */
323 YY_RULE(int) yy_EndOfLine(yycontext *yy); /* 5 */
324 YY_RULE(int) yy_LineType(yycontext *yy); /* 4 */
325 YY_RULE(int) yy_EndOfFile(yycontext *yy); /* 3 */
326 YY_RULE(int) yy_Line(yycontext *yy); /* 2 */
327 YY_RULE(int) yy_start(yycontext *yy); /* 1 */
328
329 YY_ACTION(void) yy_1_EndOfLine(yycontext *yy, char *yytext, int yyleng)
330 {
331 #define __ yy->__
332 #define yypos yy->__pos
333 #define yythunkpos yy->__thunkpos
334 yyprintf((stderr, "do yy_1_EndOfLine\n"));
335 {
336 incrlineno();;
337 }
338 #undef yythunkpos
339 #undef yypos
340 #undef yy
341 }
342 YY_ACTION(void) yy_1_RegEx(yycontext *yy, char *yytext, int yyleng)
343 {
344 #define __ yy->__
345 #define yypos yy->__pos
346 #define yythunkpos yy->__thunkpos
347 yyprintf((stderr, "do yy_1_RegEx\n"));
348 {
349 regex_push ( yytext ); ;
350 }
351 #undef yythunkpos
352 #undef yypos
353 #undef yy
354 }
355 YY_ACTION(void) yy_1_Only(yycontext *yy, char *yytext, int yyleng)
356 {
357 #define __ yy->__
358 #define yypos yy->__pos
359 #define yythunkpos yy->__thunkpos
360 yyprintf((stderr, "do yy_1_Only\n"));
361 {
362 ;
363 }
364 #undef yythunkpos
365 #undef yypos
366 #undef yy
367 }
368 YY_ACTION(void) yy_6_ValueReference(yycontext *yy, char *yytext, int yyleng)
369 {
370 #define __ yy->__
371 #define yypos yy->__pos
372 #define yythunkpos yy->__thunkpos
373 yyprintf((stderr, "do yy_6_ValueReference\n"));
374 {
375 parser_state.any_reference = only_ref; ;
376 }
377 #undef yythunkpos
378 #undef yypos
379 #undef yy
380 }
381 YY_ACTION(void) yy_5_ValueReference(yycontext *yy, char *yytext, int yyleng)
382 {
383 #define __ yy->__
384 #define yypos yy->__pos
385 #define yythunkpos yy->__thunkpos
386 yyprintf((stderr, "do yy_5_ValueReference\n"));
387 {
388 parser_state.any_reference = ntupel_ref; ;
389 }
390 #undef yythunkpos
391 #undef yypos
392 #undef yy
393 }
394 YY_ACTION(void) yy_4_ValueReference(yycontext *yy, char *yytext, int yyleng)
395 {
396 #define __ yy->__
397 #define yypos yy->__pos
398 #define yythunkpos yy->__thunkpos
399 yyprintf((stderr, "do yy_4_ValueReference\n"));
400 {
401 parser_state.any_reference = range_ref; ;
402 }
403 #undef yythunkpos
404 #undef yypos
405 #undef yy
406 }
407 YY_ACTION(void) yy_3_ValueReference(yycontext *yy, char *yytext, int yyleng)
408 {
409 #define __ yy->__
410 #define yypos yy->__pos
411 #define yythunkpos yy->__thunkpos
412 yyprintf((stderr, "do yy_3_ValueReference\n"));
413 {
414 parser_state.any_reference = regex_ref; ;
415 }
416 #undef yythunkpos
417 #undef yypos
418 #undef yy
419 }
420 YY_ACTION(void) yy_2_ValueReference(yycontext *yy, char *yytext, int yyleng)
421 {
422 #define __ yy->__
423 #define yypos yy->__pos
424 #define yythunkpos yy->__thunkpos
425 yyprintf((stderr, "do yy_2_ValueReference\n"));
426 {
427 parser_state.any_reference = only_ref; i_push(atoul(yytext) );;
428 }
429 #undef yythunkpos
430 #undef yypos
431 #undef yy
432 }
433 YY_ACTION(void) yy_1_ValueReference(yycontext *yy, char *yytext, int yyleng)
434 {
435 #define __ yy->__
436 #define yypos yy->__pos
437 #define yythunkpos yy->__thunkpos
438 yyprintf((stderr, "do yy_1_ValueReference\n"));
439 {
440 parser_state.any_reference = any_ref; ;
441 }
442 #undef yythunkpos
443 #undef yypos
444 #undef yy
445 }
446 YY_ACTION(void) yy_1_NTupel(yycontext *yy, char *yytext, int yyleng)
447 {
448 #define __ yy->__
449 #define yypos yy->__pos
450 #define yythunkpos yy->__thunkpos
451 yyprintf((stderr, "do yy_1_NTupel\n"));
452 {
453 unsigned int v=parser_state.valuelist; i_push(v); reset_valuelist(); ;
454 }
455 #undef yythunkpos
456 #undef yypos
457 #undef yy
458 }
459 YY_ACTION(void) yy_1_Value(yycontext *yy, char *yytext, int yyleng)
460 {
461 #define __ yy->__
462 #define yypos yy->__pos
463 #define yythunkpos yy->__thunkpos
464 yyprintf((stderr, "do yy_1_Value\n"));
465 {
466 incr_values(); ;
467 }
468 #undef yythunkpos
469 #undef yypos
470 #undef yy
471 }
472 YY_ACTION(void) yy_3_Number(yycontext *yy, char *yytext, int yyleng)
473 {
474 #define __ yy->__
475 #define yypos yy->__pos
476 #define yythunkpos yy->__thunkpos
477 yyprintf((stderr, "do yy_3_Number\n"));
478 {
479 i_push(atoul(yytext) );;
480 }
481 #undef yythunkpos
482 #undef yypos
483 #undef yy
484 }
485 YY_ACTION(void) yy_2_Number(yycontext *yy, char *yytext, int yyleng)
486 {
487 #define __ yy->__
488 #define yypos yy->__pos
489 #define yythunkpos yy->__thunkpos
490 yyprintf((stderr, "do yy_2_Number\n"));
491 {
492 i_push((unsigned long)2 <<atoul(yytext) ); ;
493 }
494 #undef yythunkpos
495 #undef yypos
496 #undef yy
497 }
498 YY_ACTION(void) yy_1_Number(yycontext *yy, char *yytext, int yyleng)
499 {
500 #define __ yy->__
501 #define yypos yy->__pos
502 #define yythunkpos yy->__thunkpos
503 yyprintf((stderr, "do yy_1_Number\n"));
504 {
505 i_push(strtoul(yytext, NULL, 16) ); ;
506 }
507 #undef yythunkpos
508 #undef yypos
509 #undef yy
510 }
511 YY_ACTION(void) yy_9_Content(yycontext *yy, char *yytext, int yyleng)
512 {
513 #define __ yy->__
514 #define yypos yy->__pos
515 #define yythunkpos yy->__thunkpos
516 yyprintf((stderr, "do yy_9_Content\n"));
517 {
518 v_push( iccprofile ); ;
519 }
520 #undef yythunkpos
521 #undef yypos
522 #undef yy
523 }
524 YY_ACTION(void) yy_8_Content(yycontext *yy, char *yytext, int yyleng)
525 {
526 #define __ yy->__
527 #define yypos yy->__pos
528 #define yythunkpos yy->__thunkpos
529 yyprintf((stderr, "do yy_8_Content\n"));
530 {
531 v_push( datetime ); ;
532 }
533 #undef yythunkpos
534 #undef yypos
535 #undef yy
536 }
537 YY_ACTION(void) yy_7_Content(yycontext *yy, char *yytext, int yyleng)
538 {
539 #define __ yy->__
540 #define yypos yy->__pos
541 #define yythunkpos yy->__thunkpos
542 yyprintf((stderr, "do yy_7_Content\n"));
543 {
544 v_push( full_ascii ); ;
545 }
546 #undef yythunkpos
547 #undef yypos
548 #undef yy
549 }
550 YY_ACTION(void) yy_6_Content(yycontext *yy, char *yytext, int yyleng)
551 {
552 #define __ yy->__
553 #define yypos yy->__pos
554 #define yythunkpos yy->__thunkpos
555 yyprintf((stderr, "do yy_6_Content\n"));
556 {
557 v_push( printable_ascii ); ;
558 }
559 #undef yythunkpos
560 #undef yypos
561 #undef yy
562 }
563 YY_ACTION(void) yy_5_Content(yycontext *yy, char *yytext, int yyleng)
564 {
565 #define __ yy->__
566 #define yypos yy->__pos
567 #define yythunkpos yy->__thunkpos
568 yyprintf((stderr, "do yy_5_Content\n"));
569 {
570 v_push( regex ); ;
571 }
572 #undef yythunkpos
573 #undef yypos
574 #undef yy
575 }
576 YY_ACTION(void) yy_4_Content(yycontext *yy, char *yytext, int yyleng)
577 {
578 #define __ yy->__
579 #define yypos yy->__pos
580 #define yythunkpos yy->__thunkpos
581 yyprintf((stderr, "do yy_4_Content\n"));
582 {
583 v_push( ntupel ); reset_valuelist() ;
584 }
585 #undef yythunkpos
586 #undef yypos
587 #undef yy
588 }
589 YY_ACTION(void) yy_3_Content(yycontext *yy, char *yytext, int yyleng)
590 {
591 #define __ yy->__
592 #define yypos yy->__pos
593 #define yythunkpos yy->__thunkpos
594 yyprintf((stderr, "do yy_3_Content\n"));
595 {
596 v_push( only ); ;
597 }
598 #undef yythunkpos
599 #undef yypos
600 #undef yy
601 }
602 YY_ACTION(void) yy_2_Content(yycontext *yy, char *yytext, int yyleng)
603 {
604 #define __ yy->__
605 #define yypos yy->__pos
606 #define yythunkpos yy->__thunkpos
607 yyprintf((stderr, "do yy_2_Content\n"));
608 {
609 v_push( range); ;
610 }
611 #undef yythunkpos
612 #undef yypos
613 #undef yy
614 }
615 YY_ACTION(void) yy_1_Content(yycontext *yy, char *yytext, int yyleng)
616 {
617 #define __ yy->__
618 #define yypos yy->__pos
619 #define yythunkpos yy->__thunkpos
620 yyprintf((stderr, "do yy_1_Content\n"));
621 {
622 v_push( any ); ;
623 }
624 #undef yythunkpos
625 #undef yypos
626 #undef yy
627 }
628 YY_ACTION(void) yy_4_Requirements(yycontext *yy, char *yytext, int yyleng)
629 {
630 #define __ yy->__
631 #define yypos yy->__pos
632 #define yythunkpos yy->__thunkpos
633 yyprintf((stderr, "do yy_4_Requirements\n"));
634 {
635 set_optional(); ;
636 }
637 #undef yythunkpos
638 #undef yypos
639 #undef yy
640 }
641 YY_ACTION(void) yy_3_Requirements(yycontext *yy, char *yytext, int yyleng)
642 {
643 #define __ yy->__
644 #define yypos yy->__pos
645 #define yythunkpos yy->__thunkpos
646 yyprintf((stderr, "do yy_3_Requirements\n"));
647 {
648 set_optdepends(); ;
649 }
650 #undef yythunkpos
651 #undef yypos
652 #undef yy
653 }
654 YY_ACTION(void) yy_2_Requirements(yycontext *yy, char *yytext, int yyleng)
655 {
656 #define __ yy->__
657 #define yypos yy->__pos
658 #define yythunkpos yy->__thunkpos
659 yyprintf((stderr, "do yy_2_Requirements\n"));
660 {
661 set_ifdepends(); ;
662 }
663 #undef yythunkpos
664 #undef yypos
665 #undef yy
666 }
667 YY_ACTION(void) yy_1_Requirements(yycontext *yy, char *yytext, int yyleng)
668 {
669 #define __ yy->__
670 #define yypos yy->__pos
671 #define yythunkpos yy->__thunkpos
672 yyprintf((stderr, "do yy_1_Requirements\n"));
673 {
674 set_mandatory(); ;
675 }
676 #undef yythunkpos
677 #undef yypos
678 #undef yy
679 }
680 YY_ACTION(void) yy_1_TagReference(yycontext *yy, char *yytext, int yyleng)
681 {
682 #define __ yy->__
683 #define yypos yy->__pos
684 #define yythunkpos yy->__thunkpos
685 yyprintf((stderr, "do yy_1_TagReference\n"));
686 {
687
688 unsigned int tag = i_pop();
689 if (tag < 254) set_parse_error("wrong tagreference (should be >253)", yytext);
690 else if (tag > 65535) set_parse_error("wrong tagreference (should be <65536)", yytext);
691 else settagref( tag );
692 ;
693 }
694 #undef yythunkpos
695 #undef yypos
696 #undef yy
697 }
698 YY_ACTION(void) yy_1_Tag(yycontext *yy, char *yytext, int yyleng)
699 {
700 #define __ yy->__
701 #define yypos yy->__pos
702 #define yythunkpos yy->__thunkpos
703 yyprintf((stderr, "do yy_1_Tag\n"));
704 {
705
706 unsigned int tag = i_pop();
707 /* rule_tagorder_in_dsl( tag ); */
708 if (tag < 254) set_parse_error("wrong tag (should be >253)", yytext);
709 else if (tag > 65535) set_parse_error("wrong tag (should be <65536)", yytext);
710 else settag( tag );
711 ;
712 }
713 #undef yythunkpos
714 #undef yypos
715 #undef yy
716 }
717 YY_ACTION(void) yy_2_TagLine(yycontext *yy, char *yytext, int yyleng)
718 {
719 #define __ yy->__
720 #define yypos yy->__pos
721 #define yythunkpos yy->__thunkpos
722 yyprintf((stderr, "do yy_2_TagLine\n"));
723 {
724 set_rule_logical_close(); ;
725 }
726 #undef yythunkpos
727 #undef yypos
728 #undef yy
729 }
730 YY_ACTION(void) yy_1_TagLine(yycontext *yy, char *yytext, int yyleng)
731 {
732 #define __ yy->__
733 #define yypos yy->__pos
734 #define yythunkpos yy->__thunkpos
735 yyprintf((stderr, "do yy_1_TagLine\n"));
736 {
737 rule_addtag_config(); ;
738 }
739 #undef yythunkpos
740 #undef yypos
741 #undef yy
742 }
743 YY_ACTION(void) yy_5_Mode(yycontext *yy, char *yytext, int yyleng)
744 {
745 #define __ yy->__
746 #define yypos yy->__pos
747 #define yythunkpos yy->__thunkpos
748 yyprintf((stderr, "do yy_5_Mode\n"));
749 {
750 i_push(mode_enable_deep_geotiff_checks); ;
751 }
752 #undef yythunkpos
753 #undef yypos
754 #undef yy
755 }
756 YY_ACTION(void) yy_4_Mode(yycontext *yy, char *yytext, int yyleng)
757 {
758 #define __ yy->__
759 #define yypos yy->__pos
760 #define yythunkpos yy->__thunkpos
761 yyprintf((stderr, "do yy_4_Mode\n"));
762 {
763 i_push(mode_enable_ifd_checks); ;
764 }
765 #undef yythunkpos
766 #undef yypos
767 #undef yy
768 }
769 YY_ACTION(void) yy_3_Mode(yycontext *yy, char *yytext, int yyleng)
770 {
771 #define __ yy->__
772 #define yypos yy->__pos
773 #define yythunkpos yy->__thunkpos
774 yyprintf((stderr, "do yy_3_Mode\n"));
775 {
776 i_push(mode_enable_offset_checks); ;
777 }
778 #undef yythunkpos
779 #undef yypos
780 #undef yy
781 }
782 YY_ACTION(void) yy_2_Mode(yycontext *yy, char *yytext, int yyleng)
783 {
784 #define __ yy->__
785 #define yypos yy->__pos
786 #define yythunkpos yy->__thunkpos
787 yyprintf((stderr, "do yy_2_Mode\n"));
788 {
789 i_push(mode_enable_type_checks); ;
790 }
791 #undef yythunkpos
792 #undef yypos
793 #undef yy
794 }
795 YY_ACTION(void) yy_1_Mode(yycontext *yy, char *yytext, int yyleng)
796 {
797 #define __ yy->__
798 #define yypos yy->__pos
799 #define yythunkpos yy->__thunkpos
800 yyprintf((stderr, "do yy_1_Mode\n"));
801 {
802 i_push(mode_baseline ); ;
803 }
804 #undef yythunkpos
805 #undef yypos
806 #undef yy
807 }
808 YY_ACTION(void) yy_8_LogicalOrListElement(yycontext *yy, char *yytext, int yyleng)
809 {
810 #define __ yy->__
811 #define yypos yy->__pos
812 #define yythunkpos yy->__thunkpos
813 yyprintf((stderr, "do yy_8_LogicalOrListElement\n"));
814 {
815 v_push( printable_ascii ); incr_logical_elements();;
816 }
817 #undef yythunkpos
818 #undef yypos
819 #undef yy
820 }
821 YY_ACTION(void) yy_7_LogicalOrListElement(yycontext *yy, char *yytext, int yyleng)
822 {
823 #define __ yy->__
824 #define yypos yy->__pos
825 #define yythunkpos yy->__thunkpos
826 yyprintf((stderr, "do yy_7_LogicalOrListElement\n"));
827 {
828 v_push( full_ascii); incr_logical_elements();;
829 }
830 #undef yythunkpos
831 #undef yypos
832 #undef yy
833 }
834 YY_ACTION(void) yy_6_LogicalOrListElement(yycontext *yy, char *yytext, int yyleng)
835 {
836 #define __ yy->__
837 #define yypos yy->__pos
838 #define yythunkpos yy->__thunkpos
839 yyprintf((stderr, "do yy_6_LogicalOrListElement\n"));
840 {
841 v_push( regex ); incr_logical_elements();;
842 }
843 #undef yythunkpos
844 #undef yypos
845 #undef yy
846 }
847 YY_ACTION(void) yy_5_LogicalOrListElement(yycontext *yy, char *yytext, int yyleng)
848 {
849 #define __ yy->__
850 #define yypos yy->__pos
851 #define yythunkpos yy->__thunkpos
852 yyprintf((stderr, "do yy_5_LogicalOrListElement\n"));
853 {
854 v_push( ntupel); incr_logical_elements();;
855 }
856 #undef yythunkpos
857 #undef yypos
858 #undef yy
859 }
860 YY_ACTION(void) yy_4_LogicalOrListElement(yycontext *yy, char *yytext, int yyleng)
861 {
862 #define __ yy->__
863 #define yypos yy->__pos
864 #define yythunkpos yy->__thunkpos
865 yyprintf((stderr, "do yy_4_LogicalOrListElement\n"));
866 {
867 v_push( only ); incr_logical_elements();;
868 }
869 #undef yythunkpos
870 #undef yypos
871 #undef yy
872 }
873 YY_ACTION(void) yy_3_LogicalOrListElement(yycontext *yy, char *yytext, int yyleng)
874 {
875 #define __ yy->__
876 #define yypos yy->__pos
877 #define yythunkpos yy->__thunkpos
878 yyprintf((stderr, "do yy_3_LogicalOrListElement\n"));
879 {
880 v_push( only ); incr_logical_elements();;
881 }
882 #undef yythunkpos
883 #undef yypos
884 #undef yy
885 }
886 YY_ACTION(void) yy_2_LogicalOrListElement(yycontext *yy, char *yytext, int yyleng)
887 {
888 #define __ yy->__
889 #define yypos yy->__pos
890 #define yythunkpos yy->__thunkpos
891 yyprintf((stderr, "do yy_2_LogicalOrListElement\n"));
892 {
893 v_push( range); incr_logical_elements();;
894 }
895 #undef yythunkpos
896 #undef yypos
897 #undef yy
898 }
899 YY_ACTION(void) yy_1_LogicalOrListElement(yycontext *yy, char *yytext, int yyleng)
900 {
901 #define __ yy->__
902 #define yypos yy->__pos
903 #define yythunkpos yy->__thunkpos
904 yyprintf((stderr, "do yy_1_LogicalOrListElement\n"));
905 {
906 v_push( any ); incr_logical_elements();;
907 }
908 #undef yythunkpos
909 #undef yypos
910 #undef yy
911 }
912 YY_ACTION(void) yy_1_LogicalOrClose(yycontext *yy, char *yytext, int yyleng)
913 {
914 #define __ yy->__
915 #define yypos yy->__pos
916 #define yythunkpos yy->__thunkpos
917 yyprintf((stderr, "do yy_1_LogicalOrClose\n"));
918 {
919 ;
920 }
921 #undef yythunkpos
922 #undef yypos
923 #undef yy
924 }
925 YY_ACTION(void) yy_1_LogicalOrOpen(yycontext *yy, char *yytext, int yyleng)
926 {
927 #define __ yy->__
928 #define yypos yy->__pos
929 #define yythunkpos yy->__thunkpos
930 yyprintf((stderr, "do yy_1_LogicalOrOpen\n"));
931 {
932 set_rule_logical_open();;
933 }
934 #undef yythunkpos
935 #undef yypos
936 #undef yy
937 }
938 YY_ACTION(void) yy_1_ModeLine(yycontext *yy, char *yytext, int yyleng)
939 {
940 #define __ yy->__
941 #define yypos yy->__pos
942 #define yythunkpos yy->__thunkpos
943 yyprintf((stderr, "do yy_1_ModeLine\n"));
944 {
945 unsigned int i = i_pop(); set_mode( i ); ;
946 }
947 #undef yythunkpos
948 #undef yypos
949 #undef yy
950 }
951 YY_ACTION(void) yy_1_IncludeLine(yycontext *yy, char *yytext, int yyleng)
952 {
953 #define __ yy->__
954 #define yypos yy->__pos
955 #define yythunkpos yy->__thunkpos
956 yyprintf((stderr, "do yy_1_IncludeLine\n"));
957 {
958 set_include ( yytext ); ;
959 }
960 #undef yythunkpos
961 #undef yypos
962 #undef yy
963 }
964 YY_ACTION(void) yy_1_CommentLine(yycontext *yy, char *yytext, int yyleng)
965 {
966 #define __ yy->__
967 #define yypos yy->__pos
968 #define yythunkpos yy->__thunkpos
969 yyprintf((stderr, "do yy_1_CommentLine\n"));
970 {
971 commentline(); ;
972 }
973 #undef yythunkpos
974 #undef yypos
975 #undef yy
976 }
977 YY_ACTION(void) yy_1_Line(yycontext *yy, char *yytext, int yyleng)
978 {
979 #define __ yy->__
980 #define yypos yy->__pos
981 #define yythunkpos yy->__thunkpos
982 yyprintf((stderr, "do yy_1_Line\n"));
983 {
984 fprintf(stderr, "grammar parser error at line %i (error at '%s')\n", parser_state.lineno-1, yytext); exit(EXIT_FAILURE); ;
985 }
986 #undef yythunkpos
987 #undef yypos
988 #undef yy
989 }
990
991 YY_RULE(int) yy_EscapedPCRE(yycontext *yy)
992 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
993 yyprintf((stderr, "%s\n", "EscapedPCRE"));
994 { int yypos2= yy->__pos, yythunkpos2= yy->__thunkpos; if (!yymatchChar(yy, '\\')) goto l3; if (!yymatchChar(yy, '\\')) goto l3; goto l2;
995 l3:; yy->__pos= yypos2; yy->__thunkpos= yythunkpos2; if (!yymatchChar(yy, '\\')) goto l1; if (!yymatchChar(yy, '"')) goto l1;
996 }
997 l2:;
998 yyprintf((stderr, " ok %s @ %s\n", "EscapedPCRE", yy->__buf+yy->__pos));
999 return 1;
1000 l1:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1001 yyprintf((stderr, " fail %s @ %s\n", "EscapedPCRE", yy->__buf+yy->__pos));
1002 return 0;
1003 }
1004 YY_RULE(int) yy_PCRE(yycontext *yy)
1005 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1006 yyprintf((stderr, "%s\n", "PCRE"));
1007 { int yypos5= yy->__pos, yythunkpos5= yy->__thunkpos; if (!yy_EscapedPCRE(yy)) goto l6; goto l5;
1008 l6:; yy->__pos= yypos5; yy->__thunkpos= yythunkpos5; if (!yymatchClass(yy, (unsigned char *)"\377\377\377\377\373\377\377\377\377\377\377\357\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377")) goto l4;
1009 }
1010 l5:;
1011 yyprintf((stderr, " ok %s @ %s\n", "PCRE", yy->__buf+yy->__pos));
1012 return 1;
1013 l4:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1014 yyprintf((stderr, " fail %s @ %s\n", "PCRE", yy->__buf+yy->__pos));
1015 return 0;
1016 }
1017 YY_RULE(int) yy_Value(yycontext *yy)
1018 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1019 yyprintf((stderr, "%s\n", "Value")); if (!yy_Number(yy)) goto l7; yyDo(yy, yy_1_Value, yy->__begin, yy->__end);
1020 yyprintf((stderr, " ok %s @ %s\n", "Value", yy->__buf+yy->__pos));
1021 return 1;
1022 l7:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1023 yyprintf((stderr, " fail %s @ %s\n", "Value", yy->__buf+yy->__pos));
1024 return 0;
1025 }
1026 YY_RULE(int) yy_ValueList(yycontext *yy)
1027 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1028 yyprintf((stderr, "%s\n", "ValueList")); if (!yy_Value(yy)) goto l8;
1029 l9:;
1030 { int yypos10= yy->__pos, yythunkpos10= yy->__thunkpos; if (!yy_Colon(yy)) goto l10; if (!yy_Value(yy)) goto l10; goto l9;
1031 l10:; yy->__pos= yypos10; yy->__thunkpos= yythunkpos10;
1032 }
1033 yyprintf((stderr, " ok %s @ %s\n", "ValueList", yy->__buf+yy->__pos));
1034 return 1;
1035 l8:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1036 yyprintf((stderr, " fail %s @ %s\n", "ValueList", yy->__buf+yy->__pos));
1037 return 0;
1038 }
1039 YY_RULE(int) yy_Digit(yycontext *yy)
1040 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1041 yyprintf((stderr, "%s\n", "Digit")); if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\377\003\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l11;
1042 yyprintf((stderr, " ok %s @ %s\n", "Digit", yy->__buf+yy->__pos));
1043 return 1;
1044 l11:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1045 yyprintf((stderr, " fail %s @ %s\n", "Digit", yy->__buf+yy->__pos));
1046 return 0;
1047 }
1048 YY_RULE(int) yy_Iccprofile(yycontext *yy)
1049 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1050 yyprintf((stderr, "%s\n", "Iccprofile")); if (!yymatchString(yy, "iccprofile")) goto l12;
1051 yyprintf((stderr, " ok %s @ %s\n", "Iccprofile", yy->__buf+yy->__pos));
1052 return 1;
1053 l12:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1054 yyprintf((stderr, " fail %s @ %s\n", "Iccprofile", yy->__buf+yy->__pos));
1055 return 0;
1056 }
1057 YY_RULE(int) yy_Datetime(yycontext *yy)
1058 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1059 yyprintf((stderr, "%s\n", "Datetime")); if (!yymatchString(yy, "datetime")) goto l13;
1060 yyprintf((stderr, " ok %s @ %s\n", "Datetime", yy->__buf+yy->__pos));
1061 return 1;
1062 l13:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1063 yyprintf((stderr, " fail %s @ %s\n", "Datetime", yy->__buf+yy->__pos));
1064 return 0;
1065 }
1066 YY_RULE(int) yy_ValueReference(yycontext *yy)
1067 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1068 yyprintf((stderr, "%s\n", "ValueReference"));
1069 { int yypos15= yy->__pos, yythunkpos15= yy->__thunkpos; if (!yy_Any(yy)) goto l16; yyDo(yy, yy_1_ValueReference, yy->__begin, yy->__end); goto l15;
1070 l16:; yy->__pos= yypos15; yy->__thunkpos= yythunkpos15; if (!yy_Number(yy)) goto l17; yyDo(yy, yy_2_ValueReference, yy->__begin, yy->__end); goto l15;
1071 l17:; yy->__pos= yypos15; yy->__thunkpos= yythunkpos15; if (!yy_RegEx(yy)) goto l18; yyDo(yy, yy_3_ValueReference, yy->__begin, yy->__end); goto l15;
1072 l18:; yy->__pos= yypos15; yy->__thunkpos= yythunkpos15; if (!yy_Range(yy)) goto l19; yyDo(yy, yy_4_ValueReference, yy->__begin, yy->__end); goto l15;
1073 l19:; yy->__pos= yypos15; yy->__thunkpos= yythunkpos15; if (!yy_NTupel(yy)) goto l20; yyDo(yy, yy_5_ValueReference, yy->__begin, yy->__end); goto l15;
1074 l20:; yy->__pos= yypos15; yy->__thunkpos= yythunkpos15; if (!yy_Only(yy)) goto l14; yyDo(yy, yy_6_ValueReference, yy->__begin, yy->__end);
1075 }
1076 l15:;
1077 yyprintf((stderr, " ok %s @ %s\n", "ValueReference", yy->__buf+yy->__pos));
1078 return 1;
1079 l14:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1080 yyprintf((stderr, " fail %s @ %s\n", "ValueReference", yy->__buf+yy->__pos));
1081 return 0;
1082 }
1083 YY_RULE(int) yy_Dot(yycontext *yy)
1084 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1085 yyprintf((stderr, "%s\n", "Dot")); if (!yymatchChar(yy, '.')) goto l21;
1086 l22:;
1087 { int yypos23= yy->__pos, yythunkpos23= yy->__thunkpos; if (!yy_Space(yy)) goto l23; goto l22;
1088 l23:; yy->__pos= yypos23; yy->__thunkpos= yythunkpos23;
1089 }
1090 yyprintf((stderr, " ok %s @ %s\n", "Dot", yy->__buf+yy->__pos));
1091 return 1;
1092 l21:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1093 yyprintf((stderr, " fail %s @ %s\n", "Dot", yy->__buf+yy->__pos));
1094 return 0;
1095 }
1096 YY_RULE(int) yy_OptDepends(yycontext *yy)
1097 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1098 yyprintf((stderr, "%s\n", "OptDepends")); if (!yymatchString(yy, "optdepends")) goto l24; if (!yy_OpenBracket(yy)) goto l24; if (!yy_TagReference(yy)) goto l24; if (!yy_Dot(yy)) goto l24; if (!yy_ValueReference(yy)) goto l24; if (!yy_ClosingBracket(yy)) goto l24;
1099 yyprintf((stderr, " ok %s @ %s\n", "OptDepends", yy->__buf+yy->__pos));
1100 return 1;
1101 l24:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1102 yyprintf((stderr, " fail %s @ %s\n", "OptDepends", yy->__buf+yy->__pos));
1103 return 0;
1104 }
1105 YY_RULE(int) yy_IfDepends(yycontext *yy)
1106 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1107 yyprintf((stderr, "%s\n", "IfDepends")); if (!yymatchString(yy, "depends")) goto l25; if (!yy_OpenBracket(yy)) goto l25; if (!yy_TagReference(yy)) goto l25; if (!yy_Dot(yy)) goto l25; if (!yy_ValueReference(yy)) goto l25; if (!yy_ClosingBracket(yy)) goto l25;
1108 yyprintf((stderr, " ok %s @ %s\n", "IfDepends", yy->__buf+yy->__pos));
1109 return 1;
1110 l25:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1111 yyprintf((stderr, " fail %s @ %s\n", "IfDepends", yy->__buf+yy->__pos));
1112 return 0;
1113 }
1114 YY_RULE(int) yy_Space(yycontext *yy)
1115 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1116 yyprintf((stderr, "%s\n", "Space"));
1117 { int yypos27= yy->__pos, yythunkpos27= yy->__thunkpos; if (!yymatchChar(yy, ' ')) goto l28; goto l27;
1118 l28:; yy->__pos= yypos27; yy->__thunkpos= yythunkpos27; if (!yymatchChar(yy, '\t')) goto l26;
1119 }
1120 l27:;
1121 yyprintf((stderr, " ok %s @ %s\n", "Space", yy->__buf+yy->__pos));
1122 return 1;
1123 l26:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1124 yyprintf((stderr, " fail %s @ %s\n", "Space", yy->__buf+yy->__pos));
1125 return 0;
1126 }
1127 YY_RULE(int) yy_TagReference(yycontext *yy)
1128 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1129 yyprintf((stderr, "%s\n", "TagReference")); yyText(yy, yy->__begin, yy->__end); {
1130 #define yytext yy->__text
1131 #define yyleng yy->__textlen
1132 if (!(YY_BEGIN)) goto l29;
1133 #undef yytext
1134 #undef yyleng
1135 } if (!yy_Number(yy)) goto l29; yyText(yy, yy->__begin, yy->__end); {
1136 #define yytext yy->__text
1137 #define yyleng yy->__textlen
1138 if (!(YY_END)) goto l29;
1139 #undef yytext
1140 #undef yyleng
1141 } yyDo(yy, yy_1_TagReference, yy->__begin, yy->__end);
1142 yyprintf((stderr, " ok %s @ %s\n", "TagReference", yy->__buf+yy->__pos));
1143 return 1;
1144 l29:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1145 yyprintf((stderr, " fail %s @ %s\n", "TagReference", yy->__buf+yy->__pos));
1146 return 0;
1147 }
1148 YY_RULE(int) yy_Content(yycontext *yy)
1149 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1150 yyprintf((stderr, "%s\n", "Content"));
1151 { int yypos31= yy->__pos, yythunkpos31= yy->__thunkpos; if (!yy_Any(yy)) goto l32; yyDo(yy, yy_1_Content, yy->__begin, yy->__end); goto l31;
1152 l32:; yy->__pos= yypos31; yy->__thunkpos= yythunkpos31; if (!yy_Range(yy)) goto l33; yyDo(yy, yy_2_Content, yy->__begin, yy->__end); goto l31;
1153 l33:; yy->__pos= yypos31; yy->__thunkpos= yythunkpos31; if (!yy_Only(yy)) goto l34; yyDo(yy, yy_3_Content, yy->__begin, yy->__end); goto l31;
1154 l34:; yy->__pos= yypos31; yy->__thunkpos= yythunkpos31; if (!yy_NTupel(yy)) goto l35; yyDo(yy, yy_4_Content, yy->__begin, yy->__end); goto l31;
1155 l35:; yy->__pos= yypos31; yy->__thunkpos= yythunkpos31; if (!yy_RegEx(yy)) goto l36; yyDo(yy, yy_5_Content, yy->__begin, yy->__end); goto l31;
1156 l36:; yy->__pos= yypos31; yy->__thunkpos= yythunkpos31; if (!yy_PrintableAscii(yy)) goto l37; yyDo(yy, yy_6_Content, yy->__begin, yy->__end); goto l31;
1157 l37:; yy->__pos= yypos31; yy->__thunkpos= yythunkpos31; if (!yy_FullAscii(yy)) goto l38; yyDo(yy, yy_7_Content, yy->__begin, yy->__end); goto l31;
1158 l38:; yy->__pos= yypos31; yy->__thunkpos= yythunkpos31; if (!yy_Datetime(yy)) goto l39; yyDo(yy, yy_8_Content, yy->__begin, yy->__end); goto l31;
1159 l39:; yy->__pos= yypos31; yy->__thunkpos= yythunkpos31; if (!yy_Iccprofile(yy)) goto l30; yyDo(yy, yy_9_Content, yy->__begin, yy->__end);
1160 }
1161 l31:;
1162 yyprintf((stderr, " ok %s @ %s\n", "Content", yy->__buf+yy->__pos));
1163 return 1;
1164 l30:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1165 yyprintf((stderr, " fail %s @ %s\n", "Content", yy->__buf+yy->__pos));
1166 return 0;
1167 }
1168 YY_RULE(int) yy_Requirements(yycontext *yy)
1169 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1170 yyprintf((stderr, "%s\n", "Requirements"));
1171 { int yypos41= yy->__pos, yythunkpos41= yy->__thunkpos; if (!yymatchString(yy, "mandatory")) goto l42; yyDo(yy, yy_1_Requirements, yy->__begin, yy->__end); goto l41;
1172 l42:; yy->__pos= yypos41; yy->__thunkpos= yythunkpos41; if (!yy_IfDepends(yy)) goto l43; yyDo(yy, yy_2_Requirements, yy->__begin, yy->__end); goto l41;
1173 l43:; yy->__pos= yypos41; yy->__thunkpos= yythunkpos41; if (!yy_OptDepends(yy)) goto l44; yyDo(yy, yy_3_Requirements, yy->__begin, yy->__end); goto l41;
1174 l44:; yy->__pos= yypos41; yy->__thunkpos= yythunkpos41; if (!yymatchString(yy, "optional")) goto l40; yyDo(yy, yy_4_Requirements, yy->__begin, yy->__end);
1175 }
1176 l41:;
1177 yyprintf((stderr, " ok %s @ %s\n", "Requirements", yy->__buf+yy->__pos));
1178 return 1;
1179 l40:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1180 yyprintf((stderr, " fail %s @ %s\n", "Requirements", yy->__buf+yy->__pos));
1181 return 0;
1182 }
1183 YY_RULE(int) yy_Semicolon(yycontext *yy)
1184 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1185 yyprintf((stderr, "%s\n", "Semicolon")); if (!yymatchChar(yy, ';')) goto l45;
1186 l46:;
1187 { int yypos47= yy->__pos, yythunkpos47= yy->__thunkpos; if (!yy_Space(yy)) goto l47; goto l46;
1188 l47:; yy->__pos= yypos47; yy->__thunkpos= yythunkpos47;
1189 }
1190 yyprintf((stderr, " ok %s @ %s\n", "Semicolon", yy->__buf+yy->__pos));
1191 return 1;
1192 l45:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1193 yyprintf((stderr, " fail %s @ %s\n", "Semicolon", yy->__buf+yy->__pos));
1194 return 0;
1195 }
1196 YY_RULE(int) yy_Tag(yycontext *yy)
1197 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1198 yyprintf((stderr, "%s\n", "Tag")); yyText(yy, yy->__begin, yy->__end); {
1199 #define yytext yy->__text
1200 #define yyleng yy->__textlen
1201 if (!(YY_BEGIN)) goto l48;
1202 #undef yytext
1203 #undef yyleng
1204 } if (!yy_Number(yy)) goto l48; yyText(yy, yy->__begin, yy->__end); {
1205 #define yytext yy->__text
1206 #define yyleng yy->__textlen
1207 if (!(YY_END)) goto l48;
1208 #undef yytext
1209 #undef yyleng
1210 } yyDo(yy, yy_1_Tag, yy->__begin, yy->__end);
1211 yyprintf((stderr, " ok %s @ %s\n", "Tag", yy->__buf+yy->__pos));
1212 return 1;
1213 l48:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1214 yyprintf((stderr, " fail %s @ %s\n", "Tag", yy->__buf+yy->__pos));
1215 return 0;
1216 }
1217 YY_RULE(int) yy_Colon(yycontext *yy)
1218 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1219 yyprintf((stderr, "%s\n", "Colon")); if (!yymatchChar(yy, ',')) goto l49;
1220 l50:;
1221 { int yypos51= yy->__pos, yythunkpos51= yy->__thunkpos; if (!yy_Space(yy)) goto l51; goto l50;
1222 l51:; yy->__pos= yypos51; yy->__thunkpos= yythunkpos51;
1223 }
1224 yyprintf((stderr, " ok %s @ %s\n", "Colon", yy->__buf+yy->__pos));
1225 return 1;
1226 l49:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1227 yyprintf((stderr, " fail %s @ %s\n", "Colon", yy->__buf+yy->__pos));
1228 return 0;
1229 }
1230 YY_RULE(int) yy_PrintableAscii(yycontext *yy)
1231 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1232 yyprintf((stderr, "%s\n", "PrintableAscii")); if (!yymatchString(yy, "printascii")) goto l52;
1233 yyprintf((stderr, " ok %s @ %s\n", "PrintableAscii", yy->__buf+yy->__pos));
1234 return 1;
1235 l52:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1236 yyprintf((stderr, " fail %s @ %s\n", "PrintableAscii", yy->__buf+yy->__pos));
1237 return 0;
1238 }
1239 YY_RULE(int) yy_FullAscii(yycontext *yy)
1240 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1241 yyprintf((stderr, "%s\n", "FullAscii")); if (!yymatchString(yy, "fullascii")) goto l53;
1242 yyprintf((stderr, " ok %s @ %s\n", "FullAscii", yy->__buf+yy->__pos));
1243 return 1;
1244 l53:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1245 yyprintf((stderr, " fail %s @ %s\n", "FullAscii", yy->__buf+yy->__pos));
1246 return 0;
1247 }
1248 YY_RULE(int) yy_RegEx(yycontext *yy)
1249 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1250 yyprintf((stderr, "%s\n", "RegEx")); if (!yymatchString(yy, "regex")) goto l54; if (!yy_OpenBracket(yy)) goto l54; if (!yymatchChar(yy, '"')) goto l54; yyText(yy, yy->__begin, yy->__end); {
1251 #define yytext yy->__text
1252 #define yyleng yy->__textlen
1253 if (!(YY_BEGIN)) goto l54;
1254 #undef yytext
1255 #undef yyleng
1256 }
1257 l55:;
1258 { int yypos56= yy->__pos, yythunkpos56= yy->__thunkpos; if (!yy_PCRE(yy)) goto l56; goto l55;
1259 l56:; yy->__pos= yypos56; yy->__thunkpos= yythunkpos56;
1260 } yyText(yy, yy->__begin, yy->__end); {
1261 #define yytext yy->__text
1262 #define yyleng yy->__textlen
1263 if (!(YY_END)) goto l54;
1264 #undef yytext
1265 #undef yyleng
1266 } if (!yymatchChar(yy, '"')) goto l54; if (!yy_ClosingBracket(yy)) goto l54; yyDo(yy, yy_1_RegEx, yy->__begin, yy->__end);
1267 yyprintf((stderr, " ok %s @ %s\n", "RegEx", yy->__buf+yy->__pos));
1268 return 1;
1269 l54:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1270 yyprintf((stderr, " fail %s @ %s\n", "RegEx", yy->__buf+yy->__pos));
1271 return 0;
1272 }
1273 YY_RULE(int) yy_NTupel(yycontext *yy)
1274 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1275 yyprintf((stderr, "%s\n", "NTupel")); if (!yymatchString(yy, "ntupel")) goto l57; if (!yy_OpenBracket(yy)) goto l57; if (!yy_ValueList(yy)) goto l57; if (!yy_ClosingBracket(yy)) goto l57; yyDo(yy, yy_1_NTupel, yy->__begin, yy->__end);
1276 yyprintf((stderr, " ok %s @ %s\n", "NTupel", yy->__buf+yy->__pos));
1277 return 1;
1278 l57:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1279 yyprintf((stderr, " fail %s @ %s\n", "NTupel", yy->__buf+yy->__pos));
1280 return 0;
1281 }
1282 YY_RULE(int) yy_Number(yycontext *yy)
1283 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1284 yyprintf((stderr, "%s\n", "Number"));
1285 { int yypos59= yy->__pos, yythunkpos59= yy->__thunkpos; yyText(yy, yy->__begin, yy->__end); {
1286 #define yytext yy->__text
1287 #define yyleng yy->__textlen
1288 if (!(YY_BEGIN)) goto l60;
1289 #undef yytext
1290 #undef yyleng
1291 } if (!yymatchString(yy, "0x")) goto l60; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\377\003\000\000\000\000\176\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l60;
1292 l61:;
1293 { int yypos62= yy->__pos, yythunkpos62= yy->__thunkpos; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\377\003\000\000\000\000\176\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l62; goto l61;
1294 l62:; yy->__pos= yypos62; yy->__thunkpos= yythunkpos62;
1295 } yyText(yy, yy->__begin, yy->__end); {
1296 #define yytext yy->__text
1297 #define yyleng yy->__textlen
1298 if (!(YY_END)) goto l60;
1299 #undef yytext
1300 #undef yyleng
1301 } yyDo(yy, yy_1_Number, yy->__begin, yy->__end); goto l59;
1302 l60:; yy->__pos= yypos59; yy->__thunkpos= yythunkpos59; if (!yymatchString(yy, "2^")) goto l63; yyText(yy, yy->__begin, yy->__end); {
1303 #define yytext yy->__text
1304 #define yyleng yy->__textlen
1305 if (!(YY_BEGIN)) goto l63;
1306 #undef yytext
1307 #undef yyleng
1308 } if (!yy_Digit(yy)) goto l63;
1309 l64:;
1310 { int yypos65= yy->__pos, yythunkpos65= yy->__thunkpos; if (!yy_Digit(yy)) goto l65; goto l64;
1311 l65:; yy->__pos= yypos65; yy->__thunkpos= yythunkpos65;
1312 } yyText(yy, yy->__begin, yy->__end); {
1313 #define yytext yy->__text
1314 #define yyleng yy->__textlen
1315 if (!(YY_END)) goto l63;
1316 #undef yytext
1317 #undef yyleng
1318 } yyDo(yy, yy_2_Number, yy->__begin, yy->__end); goto l59;
1319 l63:; yy->__pos= yypos59; yy->__thunkpos= yythunkpos59; yyText(yy, yy->__begin, yy->__end); {
1320 #define yytext yy->__text
1321 #define yyleng yy->__textlen
1322 if (!(YY_BEGIN)) goto l58;
1323 #undef yytext
1324 #undef yyleng
1325 } if (!yy_Digit(yy)) goto l58;
1326 l66:;
1327 { int yypos67= yy->__pos, yythunkpos67= yy->__thunkpos; if (!yy_Digit(yy)) goto l67; goto l66;
1328 l67:; yy->__pos= yypos67; yy->__thunkpos= yythunkpos67;
1329 } yyText(yy, yy->__begin, yy->__end); {
1330 #define yytext yy->__text
1331 #define yyleng yy->__textlen
1332 if (!(YY_END)) goto l58;
1333 #undef yytext
1334 #undef yyleng
1335 } yyDo(yy, yy_3_Number, yy->__begin, yy->__end);
1336 }
1337 l59:;
1338 yyprintf((stderr, " ok %s @ %s\n", "Number", yy->__buf+yy->__pos));
1339 return 1;
1340 l58:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1341 yyprintf((stderr, " fail %s @ %s\n", "Number", yy->__buf+yy->__pos));
1342 return 0;
1343 }
1344 YY_RULE(int) yy_Only(yycontext *yy)
1345 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1346 yyprintf((stderr, "%s\n", "Only")); if (!yymatchString(yy, "only")) goto l68; if (!yy_OpenBracket(yy)) goto l68; if (!yy_Number(yy)) goto l68; if (!yy_ClosingBracket(yy)) goto l68; yyDo(yy, yy_1_Only, yy->__begin, yy->__end);
1347 yyprintf((stderr, " ok %s @ %s\n", "Only", yy->__buf+yy->__pos));
1348 return 1;
1349 l68:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1350 yyprintf((stderr, " fail %s @ %s\n", "Only", yy->__buf+yy->__pos));
1351 return 0;
1352 }
1353 YY_RULE(int) yy_Range(yycontext *yy)
1354 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1355 yyprintf((stderr, "%s\n", "Range")); if (!yymatchString(yy, "range")) goto l69; if (!yy_OpenBracket(yy)) goto l69; if (!yy_Number(yy)) goto l69; if (!yy_Colon(yy)) goto l69; if (!yy_Number(yy)) goto l69; if (!yy_ClosingBracket(yy)) goto l69;
1356 yyprintf((stderr, " ok %s @ %s\n", "Range", yy->__buf+yy->__pos));
1357 return 1;
1358 l69:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1359 yyprintf((stderr, " fail %s @ %s\n", "Range", yy->__buf+yy->__pos));
1360 return 0;
1361 }
1362 YY_RULE(int) yy_Any(yycontext *yy)
1363 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1364 yyprintf((stderr, "%s\n", "Any")); if (!yymatchString(yy, "any")) goto l70;
1365 yyprintf((stderr, " ok %s @ %s\n", "Any", yy->__buf+yy->__pos));
1366 return 1;
1367 l70:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1368 yyprintf((stderr, " fail %s @ %s\n", "Any", yy->__buf+yy->__pos));
1369 return 0;
1370 }
1371 YY_RULE(int) yy_LogicalOrListElement(yycontext *yy)
1372 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1373 yyprintf((stderr, "%s\n", "LogicalOrListElement"));
1374 { int yypos72= yy->__pos, yythunkpos72= yy->__thunkpos; if (!yy_Any(yy)) goto l73; yyDo(yy, yy_1_LogicalOrListElement, yy->__begin, yy->__end); goto l72;
1375 l73:; yy->__pos= yypos72; yy->__thunkpos= yythunkpos72; if (!yy_Range(yy)) goto l74; yyDo(yy, yy_2_LogicalOrListElement, yy->__begin, yy->__end); goto l72;
1376 l74:; yy->__pos= yypos72; yy->__thunkpos= yythunkpos72; if (!yy_Only(yy)) goto l75; yyDo(yy, yy_3_LogicalOrListElement, yy->__begin, yy->__end); goto l72;
1377 l75:; yy->__pos= yypos72; yy->__thunkpos= yythunkpos72; if (!yy_Number(yy)) goto l76; yyDo(yy, yy_4_LogicalOrListElement, yy->__begin, yy->__end); goto l72;
1378 l76:; yy->__pos= yypos72; yy->__thunkpos= yythunkpos72; if (!yy_NTupel(yy)) goto l77; yyDo(yy, yy_5_LogicalOrListElement, yy->__begin, yy->__end); goto l72;
1379 l77:; yy->__pos= yypos72; yy->__thunkpos= yythunkpos72; if (!yy_RegEx(yy)) goto l78; yyDo(yy, yy_6_LogicalOrListElement, yy->__begin, yy->__end); goto l72;
1380 l78:; yy->__pos= yypos72; yy->__thunkpos= yythunkpos72; if (!yy_FullAscii(yy)) goto l79; yyDo(yy, yy_7_LogicalOrListElement, yy->__begin, yy->__end); goto l72;
1381 l79:; yy->__pos= yypos72; yy->__thunkpos= yythunkpos72; if (!yy_PrintableAscii(yy)) goto l71; yyDo(yy, yy_8_LogicalOrListElement, yy->__begin, yy->__end);
1382 }
1383 l72:;
1384 yyprintf((stderr, " ok %s @ %s\n", "LogicalOrListElement", yy->__buf+yy->__pos));
1385 return 1;
1386 l71:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1387 yyprintf((stderr, " fail %s @ %s\n", "LogicalOrListElement", yy->__buf+yy->__pos));
1388 return 0;
1389 }
1390 YY_RULE(int) yy_LogicalOrClose(yycontext *yy)
1391 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1392 yyprintf((stderr, "%s\n", "LogicalOrClose")); if (!yy_ClosingBracket(yy)) goto l80; yyDo(yy, yy_1_LogicalOrClose, yy->__begin, yy->__end);
1393 yyprintf((stderr, " ok %s @ %s\n", "LogicalOrClose", yy->__buf+yy->__pos));
1394 return 1;
1395 l80:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1396 yyprintf((stderr, " fail %s @ %s\n", "LogicalOrClose", yy->__buf+yy->__pos));
1397 return 0;
1398 }
1399 YY_RULE(int) yy_LogicalOrList(yycontext *yy)
1400 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1401 yyprintf((stderr, "%s\n", "LogicalOrList")); if (!yy_LogicalOrListElement(yy)) goto l81;
1402 l82:;
1403 { int yypos83= yy->__pos, yythunkpos83= yy->__thunkpos; if (!yy_Colon(yy)) goto l83; if (!yy_LogicalOrListElement(yy)) goto l83; goto l82;
1404 l83:; yy->__pos= yypos83; yy->__thunkpos= yythunkpos83;
1405 }
1406 yyprintf((stderr, " ok %s @ %s\n", "LogicalOrList", yy->__buf+yy->__pos));
1407 return 1;
1408 l81:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1409 yyprintf((stderr, " fail %s @ %s\n", "LogicalOrList", yy->__buf+yy->__pos));
1410 return 0;
1411 }
1412 YY_RULE(int) yy_LogicalOrOpen(yycontext *yy)
1413 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1414 yyprintf((stderr, "%s\n", "LogicalOrOpen")); if (!yy_OpenBracket(yy)) goto l84; yyDo(yy, yy_1_LogicalOrOpen, yy->__begin, yy->__end);
1415 yyprintf((stderr, " ok %s @ %s\n", "LogicalOrOpen", yy->__buf+yy->__pos));
1416 return 1;
1417 l84:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1418 yyprintf((stderr, " fail %s @ %s\n", "LogicalOrOpen", yy->__buf+yy->__pos));
1419 return 0;
1420 }
1421 YY_RULE(int) yy_LogicalOr(yycontext *yy)
1422 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1423 yyprintf((stderr, "%s\n", "LogicalOr")); if (!yymatchString(yy, "logical_or")) goto l85; if (!yy_LogicalOrOpen(yy)) goto l85; if (!yy_LogicalOrList(yy)) goto l85; if (!yy_LogicalOrClose(yy)) goto l85;
1424 yyprintf((stderr, " ok %s @ %s\n", "LogicalOr", yy->__buf+yy->__pos));
1425 return 1;
1426 l85:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1427 yyprintf((stderr, " fail %s @ %s\n", "LogicalOr", yy->__buf+yy->__pos));
1428 return 0;
1429 }
1430 YY_RULE(int) yy_Mode(yycontext *yy)
1431 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1432 yyprintf((stderr, "%s\n", "Mode"));
1433 { int yypos87= yy->__pos, yythunkpos87= yy->__thunkpos; if (!yymatchString(yy, "baseline")) goto l88; yyDo(yy, yy_1_Mode, yy->__begin, yy->__end); goto l87;
1434 l88:; yy->__pos= yypos87; yy->__thunkpos= yythunkpos87; if (!yymatchString(yy, "enable_type_checks")) goto l89; yyDo(yy, yy_2_Mode, yy->__begin, yy->__end); goto l87;
1435 l89:; yy->__pos= yypos87; yy->__thunkpos= yythunkpos87; if (!yymatchString(yy, "enable_offset_checks")) goto l90; yyDo(yy, yy_3_Mode, yy->__begin, yy->__end); goto l87;
1436 l90:; yy->__pos= yypos87; yy->__thunkpos= yythunkpos87; if (!yymatchString(yy, "enable_ifd_checks")) goto l91; yyDo(yy, yy_4_Mode, yy->__begin, yy->__end); goto l87;
1437 l91:; yy->__pos= yypos87; yy->__thunkpos= yythunkpos87; if (!yymatchString(yy, "enable_deep_geotiff_checks")) goto l92; yyDo(yy, yy_5_Mode, yy->__begin, yy->__end); goto l87;
1438 l92:; yy->__pos= yypos87; yy->__thunkpos= yythunkpos87; if (!yymatchString(yy, "enhanced")) goto l86;
1439 }
1440 l87:;
1441 yyprintf((stderr, " ok %s @ %s\n", "Mode", yy->__buf+yy->__pos));
1442 return 1;
1443 l86:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1444 yyprintf((stderr, " fail %s @ %s\n", "Mode", yy->__buf+yy->__pos));
1445 return 0;
1446 }
1447 YY_RULE(int) yy_Subpath(yycontext *yy)
1448 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1449 yyprintf((stderr, "%s\n", "Subpath"));
1450 { int yypos94= yy->__pos, yythunkpos94= yy->__thunkpos; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\000\000\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l95; goto l94;
1451 l95:; yy->__pos= yypos94; yy->__thunkpos= yythunkpos94; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\000\000\000\000\000\000\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l96; goto l94;
1452 l96:; yy->__pos= yypos94; yy->__thunkpos= yythunkpos94; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\377\003\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l97; goto l94;
1453 l97:; yy->__pos= yypos94; yy->__thunkpos= yythunkpos94; if (!yymatchChar(yy, '.')) goto l98; goto l94;
1454 l98:; yy->__pos= yypos94; yy->__thunkpos= yythunkpos94; if (!yymatchChar(yy, '_')) goto l99; goto l94;
1455 l99:; yy->__pos= yypos94; yy->__thunkpos= yythunkpos94; if (!yymatchChar(yy, '-')) goto l100; goto l94;
1456 l100:; yy->__pos= yypos94; yy->__thunkpos= yythunkpos94; if (!yy_SlashorBackslash(yy)) goto l93;
1457 }
1458 l94:;
1459 yyprintf((stderr, " ok %s @ %s\n", "Subpath", yy->__buf+yy->__pos));
1460 return 1;
1461 l93:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1462 yyprintf((stderr, " fail %s @ %s\n", "Subpath", yy->__buf+yy->__pos));
1463 return 0;
1464 }
1465 YY_RULE(int) yy_SlashorBackslash(yycontext *yy)
1466 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1467 yyprintf((stderr, "%s\n", "SlashorBackslash"));
1468 { int yypos102= yy->__pos, yythunkpos102= yy->__thunkpos; if (!yymatchChar(yy, '/')) goto l103; goto l102;
1469 l103:; yy->__pos= yypos102; yy->__thunkpos= yythunkpos102; if (!yymatchChar(yy, '\\')) goto l101;
1470 }
1471 l102:;
1472 yyprintf((stderr, " ok %s @ %s\n", "SlashorBackslash", yy->__buf+yy->__pos));
1473 return 1;
1474 l101:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1475 yyprintf((stderr, " fail %s @ %s\n", "SlashorBackslash", yy->__buf+yy->__pos));
1476 return 0;
1477 }
1478 YY_RULE(int) yy_ClosingBracket(yycontext *yy)
1479 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1480 yyprintf((stderr, "%s\n", "ClosingBracket")); if (!yymatchChar(yy, ')')) goto l104;
1481 yyprintf((stderr, " ok %s @ %s\n", "ClosingBracket", yy->__buf+yy->__pos));
1482 return 1;
1483 l104:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1484 yyprintf((stderr, " fail %s @ %s\n", "ClosingBracket", yy->__buf+yy->__pos));
1485 return 0;
1486 }
1487 YY_RULE(int) yy_Path(yycontext *yy)
1488 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1489 yyprintf((stderr, "%s\n", "Path")); if (!yy_Subpath(yy)) goto l105;
1490 l106:;
1491 { int yypos107= yy->__pos, yythunkpos107= yy->__thunkpos; if (!yy_Subpath(yy)) goto l107; goto l106;
1492 l107:; yy->__pos= yypos107; yy->__thunkpos= yythunkpos107;
1493 }
1494 yyprintf((stderr, " ok %s @ %s\n", "Path", yy->__buf+yy->__pos));
1495 return 1;
1496 l105:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1497 yyprintf((stderr, " fail %s @ %s\n", "Path", yy->__buf+yy->__pos));
1498 return 0;
1499 }
1500 YY_RULE(int) yy_OpenBracket(yycontext *yy)
1501 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1502 yyprintf((stderr, "%s\n", "OpenBracket")); if (!yymatchChar(yy, '(')) goto l108;
1503 yyprintf((stderr, " ok %s @ %s\n", "OpenBracket", yy->__buf+yy->__pos));
1504 return 1;
1505 l108:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1506 yyprintf((stderr, " fail %s @ %s\n", "OpenBracket", yy->__buf+yy->__pos));
1507 return 0;
1508 }
1509 YY_RULE(int) yy_SpaceLine(yycontext *yy)
1510 {
1511 yyprintf((stderr, "%s\n", "SpaceLine"));
1512 l110:;
1513 { int yypos111= yy->__pos, yythunkpos111= yy->__thunkpos; if (!yy_Space(yy)) goto l111; goto l110;
1514 l111:; yy->__pos= yypos111; yy->__thunkpos= yythunkpos111;
1515 }
1516 yyprintf((stderr, " ok %s @ %s\n", "SpaceLine", yy->__buf+yy->__pos));
1517 return 1;
1518 }
1519 YY_RULE(int) yy_CommentLine(yycontext *yy)
1520 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1521 yyprintf((stderr, "%s\n", "CommentLine")); if (!yymatchChar(yy, '#')) goto l112; yyText(yy, yy->__begin, yy->__end); {
1522 #define yytext yy->__text
1523 #define yyleng yy->__textlen
1524 if (!(YY_BEGIN)) goto l112;
1525 #undef yytext
1526 #undef yyleng
1527 }
1528 l113:;
1529 { int yypos114= yy->__pos, yythunkpos114= yy->__thunkpos;
1530 { int yypos115= yy->__pos, yythunkpos115= yy->__thunkpos; if (!yy_EndOfLine(yy)) goto l115; goto l114;
1531 l115:; yy->__pos= yypos115; yy->__thunkpos= yythunkpos115;
1532 } if (!yymatchDot(yy)) goto l114; goto l113;
1533 l114:; yy->__pos= yypos114; yy->__thunkpos= yythunkpos114;
1534 } yyText(yy, yy->__begin, yy->__end); {
1535 #define yytext yy->__text
1536 #define yyleng yy->__textlen
1537 if (!(YY_END)) goto l112;
1538 #undef yytext
1539 #undef yyleng
1540 } yyDo(yy, yy_1_CommentLine, yy->__begin, yy->__end);
1541 yyprintf((stderr, " ok %s @ %s\n", "CommentLine", yy->__buf+yy->__pos));
1542 return 1;
1543 l112:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1544 yyprintf((stderr, " fail %s @ %s\n", "CommentLine", yy->__buf+yy->__pos));
1545 return 0;
1546 }
1547 YY_RULE(int) yy_IncludeLine(yycontext *yy)
1548 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1549 yyprintf((stderr, "%s\n", "IncludeLine")); if (!yymatchString(yy, "include")) goto l116; if (!yy_OpenBracket(yy)) goto l116; yyText(yy, yy->__begin, yy->__end); {
1550 #define yytext yy->__text
1551 #define yyleng yy->__textlen
1552 if (!(YY_BEGIN)) goto l116;
1553 #undef yytext
1554 #undef yyleng
1555 } if (!yy_Path(yy)) goto l116; yyText(yy, yy->__begin, yy->__end); {
1556 #define yytext yy->__text
1557 #define yyleng yy->__textlen
1558 if (!(YY_END)) goto l116;
1559 #undef yytext
1560 #undef yyleng
1561 } if (!yy_ClosingBracket(yy)) goto l116; yyDo(yy, yy_1_IncludeLine, yy->__begin, yy->__end);
1562 yyprintf((stderr, " ok %s @ %s\n", "IncludeLine", yy->__buf+yy->__pos));
1563 return 1;
1564 l116:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1565 yyprintf((stderr, " fail %s @ %s\n", "IncludeLine", yy->__buf+yy->__pos));
1566 return 0;
1567 }
1568 YY_RULE(int) yy_ModeLine(yycontext *yy)
1569 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1570 yyprintf((stderr, "%s\n", "ModeLine")); if (!yymatchString(yy, "mode")) goto l117; if (!yy_OpenBracket(yy)) goto l117; yyText(yy, yy->__begin, yy->__end); {
1571 #define yytext yy->__text
1572 #define yyleng yy->__textlen
1573 if (!(YY_BEGIN)) goto l117;
1574 #undef yytext
1575 #undef yyleng
1576 } if (!yy_Mode(yy)) goto l117; yyText(yy, yy->__begin, yy->__end); {
1577 #define yytext yy->__text
1578 #define yyleng yy->__textlen
1579 if (!(YY_END)) goto l117;
1580 #undef yytext
1581 #undef yyleng
1582 } if (!yy_ClosingBracket(yy)) goto l117; yyDo(yy, yy_1_ModeLine, yy->__begin, yy->__end);
1583 yyprintf((stderr, " ok %s @ %s\n", "ModeLine", yy->__buf+yy->__pos));
1584 return 1;
1585 l117:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1586 yyprintf((stderr, " fail %s @ %s\n", "ModeLine", yy->__buf+yy->__pos));
1587 return 0;
1588 }
1589 YY_RULE(int) yy_TagLine(yycontext *yy)
1590 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1591 yyprintf((stderr, "%s\n", "TagLine"));
1592 { int yypos119= yy->__pos, yythunkpos119= yy->__thunkpos; if (!yy_Tag(yy)) goto l120; if (!yy_Semicolon(yy)) goto l120; if (!yy_Requirements(yy)) goto l120; if (!yy_Semicolon(yy)) goto l120; if (!yy_Content(yy)) goto l120; yyDo(yy, yy_1_TagLine, yy->__begin, yy->__end); goto l119;
1593 l120:; yy->__pos= yypos119; yy->__thunkpos= yythunkpos119; if (!yy_Tag(yy)) goto l118; if (!yy_Semicolon(yy)) goto l118; if (!yy_Requirements(yy)) goto l118; if (!yy_Semicolon(yy)) goto l118; if (!yy_LogicalOr(yy)) goto l118; yyDo(yy, yy_2_TagLine, yy->__begin, yy->__end);
1594 }
1595 l119:;
1596 yyprintf((stderr, " ok %s @ %s\n", "TagLine", yy->__buf+yy->__pos));
1597 return 1;
1598 l118:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1599 yyprintf((stderr, " fail %s @ %s\n", "TagLine", yy->__buf+yy->__pos));
1600 return 0;
1601 }
1602 YY_RULE(int) yy_EndOfLine(yycontext *yy)
1603 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1604 yyprintf((stderr, "%s\n", "EndOfLine")); if (!yymatchClass(yy, (unsigned char *)"\000\044\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l121; yyDo(yy, yy_1_EndOfLine, yy->__begin, yy->__end);
1605 yyprintf((stderr, " ok %s @ %s\n", "EndOfLine", yy->__buf+yy->__pos));
1606 return 1;
1607 l121:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1608 yyprintf((stderr, " fail %s @ %s\n", "EndOfLine", yy->__buf+yy->__pos));
1609 return 0;
1610 }
1611 YY_RULE(int) yy_LineType(yycontext *yy)
1612 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1613 yyprintf((stderr, "%s\n", "LineType"));
1614 { int yypos123= yy->__pos, yythunkpos123= yy->__thunkpos; if (!yy_TagLine(yy)) goto l124; goto l123;
1615 l124:; yy->__pos= yypos123; yy->__thunkpos= yythunkpos123; if (!yy_ModeLine(yy)) goto l125; goto l123;
1616 l125:; yy->__pos= yypos123; yy->__thunkpos= yythunkpos123; if (!yy_IncludeLine(yy)) goto l126; goto l123;
1617 l126:; yy->__pos= yypos123; yy->__thunkpos= yythunkpos123; if (!yy_CommentLine(yy)) goto l127; goto l123;
1618 l127:; yy->__pos= yypos123; yy->__thunkpos= yythunkpos123; if (!yy_SpaceLine(yy)) goto l122;
1619 }
1620 l123:;
1621 yyprintf((stderr, " ok %s @ %s\n", "LineType", yy->__buf+yy->__pos));
1622 return 1;
1623 l122:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1624 yyprintf((stderr, " fail %s @ %s\n", "LineType", yy->__buf+yy->__pos));
1625 return 0;
1626 }
1627 YY_RULE(int) yy_EndOfFile(yycontext *yy)
1628 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1629 yyprintf((stderr, "%s\n", "EndOfFile"));
1630 { int yypos129= yy->__pos, yythunkpos129= yy->__thunkpos; if (!yymatchDot(yy)) goto l129; goto l128;
1631 l129:; yy->__pos= yypos129; yy->__thunkpos= yythunkpos129;
1632 }
1633 yyprintf((stderr, " ok %s @ %s\n", "EndOfFile", yy->__buf+yy->__pos));
1634 return 1;
1635 l128:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1636 yyprintf((stderr, " fail %s @ %s\n", "EndOfFile", yy->__buf+yy->__pos));
1637 return 0;
1638 }
1639 YY_RULE(int) yy_Line(yycontext *yy)
1640 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1641 yyprintf((stderr, "%s\n", "Line"));
1642 { int yypos131= yy->__pos, yythunkpos131= yy->__thunkpos; if (!yy_LineType(yy)) goto l132; if (!yy_EndOfLine(yy)) goto l132; goto l131;
1643 l132:; yy->__pos= yypos131; yy->__thunkpos= yythunkpos131; yyText(yy, yy->__begin, yy->__end); {
1644 #define yytext yy->__text
1645 #define yyleng yy->__textlen
1646 if (!(YY_BEGIN)) goto l130;
1647 #undef yytext
1648 #undef yyleng
1649 } if (!yymatchClass(yy, (unsigned char *)"\377\333\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377")) goto l130;
1650 l133:;
1651 { int yypos134= yy->__pos, yythunkpos134= yy->__thunkpos; if (!yymatchClass(yy, (unsigned char *)"\377\333\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377")) goto l134; goto l133;
1652 l134:; yy->__pos= yypos134; yy->__thunkpos= yythunkpos134;
1653 } yyText(yy, yy->__begin, yy->__end); {
1654 #define yytext yy->__text
1655 #define yyleng yy->__textlen
1656 if (!(YY_END)) goto l130;
1657 #undef yytext
1658 #undef yyleng
1659 } if (!yy_EndOfLine(yy)) goto l130; yyDo(yy, yy_1_Line, yy->__begin, yy->__end);
1660 }
1661 l131:;
1662 yyprintf((stderr, " ok %s @ %s\n", "Line", yy->__buf+yy->__pos));
1663 return 1;
1664 l130:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1665 yyprintf((stderr, " fail %s @ %s\n", "Line", yy->__buf+yy->__pos));
1666 return 0;
1667 }
1668 YY_RULE(int) yy_start(yycontext *yy)
1669 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1670 yyprintf((stderr, "%s\n", "start")); if (!yy_Line(yy)) goto l135;
1671 l136:;
1672 { int yypos137= yy->__pos, yythunkpos137= yy->__thunkpos; if (!yy_Line(yy)) goto l137; goto l136;
1673 l137:; yy->__pos= yypos137; yy->__thunkpos= yythunkpos137;
1674 } if (!yy_EndOfFile(yy)) goto l135;
1675 yyprintf((stderr, " ok %s @ %s\n", "start", yy->__buf+yy->__pos));
1676 return 1;
1677 l135:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1678 yyprintf((stderr, " fail %s @ %s\n", "start", yy->__buf+yy->__pos));
1679 return 0;
1680 }
1681
1682 #ifndef YY_PART
1683
1684 typedef int (*yyrule)(yycontext *yy);
1685
1686 YY_PARSE(int) YYPARSEFROM_R(YY_CTX_PARAM_ yyrule yystart)
1687 {
1688 int yyok, yythunkpos;
1689 YYSTYPE *yyval;
1690 if (!yyctx->__buflen)
1691 {
1692 yyctx->__buflen= YY_BUFFER_SIZE;
1693 yyctx->__buf= (char *)YY_MALLOC(yyctx, yyctx->__buflen);
1694 yyctx->__textlen= YY_BUFFER_SIZE;
1695 yyctx->__text= (char *)YY_MALLOC(yyctx, yyctx->__textlen);
1696 yyctx->__thunkslen= YY_STACK_SIZE;
1697 yyctx->__thunks= (yythunk *)YY_MALLOC(yyctx, sizeof(yythunk) * yyctx->__thunkslen);
1698 yyctx->__valslen= YY_STACK_SIZE;
1699 yyctx->__val= yyctx->__vals= (YYSTYPE *)YY_MALLOC(yyctx, sizeof(YYSTYPE) * yyctx->__valslen);
1700 yyctx->__begin= yyctx->__end= yyctx->__pos= yyctx->__limit= yyctx->__thunkpos= 0;
1701 }
1702 yyctx->__begin= yyctx->__end= yyctx->__pos;
1703 yythunkpos= yyctx->__thunkpos;
1704 yyval= yyctx->__val;
1705 yyok= yystart(yyctx);
1706 if (yyok) yyDone(yyctx, yythunkpos);
1707 yyctx->__thunkpos= yythunkpos;
1708 yyctx->__val= yyval;
1709 return yyok;
1710 }
1711
1712 YY_PARSE(int) YYPARSEFROM(YY_CTX_PARAM_ yyrule yystart)
1713 {
1714 int yyok;
1715 yyctx->__thunkpos= 0;
1716 yyctx->__val= yyctx->__vals;
1717 yyok= YYPARSEFROM_R(YY_CTX_ARG_ yystart);
1718 yyCommit(yyctx);
1719 return yyok;
1720 }
1721
1722 YY_PARSE(int) YYPARSE(YY_CTX_PARAM)
1723 {
1724 return YYPARSEFROM(YY_CTX_ARG_ yy_start);
1725 }
1726
1727 YY_PARSE(yycontext *) YYRELEASE(yycontext *yyctx)
1728 {
1729 if (yyctx->__buflen)
1730 {
1731 yyctx->__buflen= 0;
1732 YY_FREE(yyctx, yyctx->__buf);
1733 YY_FREE(yyctx, yyctx->__text);
1734 YY_FREE(yyctx, yyctx->__thunks);
1735 YY_FREE(yyctx, yyctx->__vals);
1736 }
1737 return yyctx;
1738 }
1739
1740 #endif