summaryrefslogtreecommitdiff
path: root/ext/syck/token.c
diff options
context:
space:
mode:
authorwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-03 18:58:27 +0000
committerwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-03 18:58:27 +0000
commit4e0868d03fedd0793dd0e4cbf146e0a686e50fa9 (patch)
treedbd0b77e10787030e961521ba84fa4150b6c6b36 /ext/syck/token.c
parent65c26edcf767947e50e81190ae9e1d91f67f8a23 (diff)
* ext/syck/token.c: headerless documents with root-level spacing now
honored. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/token.c')
-rw-r--r--ext/syck/token.c1108
1 files changed, 562 insertions, 546 deletions
diff --git a/ext/syck/token.c b/ext/syck/token.c
index d84d54505f5..dc20ecd085c 100644
--- a/ext/syck/token.c
+++ b/ext/syck/token.c
@@ -1,4 +1,4 @@
-/* Generated by re2c 0.5 on Thu Aug 21 14:28:35 2003 */
+/* Generated by re2c 0.5 on Wed Sep 3 12:48:43 2003 */
#line 1 "token.re"
/*
* token.re
@@ -216,6 +216,7 @@ int yywrap();
int
sycklex( YYSTYPE *sycklval, SyckParser *parser )
{
+ int doc_level = 0;
syck_parser_ptr = parser;
if ( YYCURSOR == NULL )
{
@@ -229,7 +230,7 @@ sycklex( YYSTYPE *sycklval, SyckParser *parser )
return t;
}
-#line 247
+#line 248
if ( YYLINEPTR != YYCURSOR )
@@ -253,37 +254,38 @@ yy0:
case '\000': goto yy7;
case '\n': goto yy9;
case '\r': goto yy11;
+ case ' ': goto yy12;
case '#': goto yy5;
case '-': goto yy2;
case '.': goto yy4;
- default: goto yy12;
+ default: goto yy14;
}
yy2: yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
switch(yych){
- case '-': goto yy24;
+ case '-': goto yy28;
default: goto yy3;
}
yy3:
-#line 303
+#line 307
{ YYPOS(0);
goto Document;
}
yy4: yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
switch(yych){
- case '.': goto yy17;
+ case '.': goto yy21;
default: goto yy3;
}
yy5: yych = *++YYCURSOR;
yy6:
-#line 288
+#line 289
{ eat_comments( parser );
goto Header;
}
yy7: yych = *++YYCURSOR;
yy8:
-#line 292
+#line 293
{ SyckLevel *lvl = CURRENT_LEVEL();
ENSURE_YAML_IEND(lvl, -1);
YYPOS(0);
@@ -291,56 +293,69 @@ yy8:
}
yy9: yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
- goto yy14;
+ goto yy18;
yy10:
-#line 298
- { int indt_len;
- GOBBLE_UP_YAML_INDENT( indt_len, YYTOKEN );
+#line 299
+ { GOBBLE_UP_YAML_INDENT( doc_level, YYTOKEN );
goto Header;
}
yy11: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy13;
+ case '\n': goto yy17;
default: goto yy3;
}
yy12: yych = *++YYCURSOR;
+ goto yy16;
+yy13:
+#line 303
+ { doc_level = YYCURSOR - YYLINEPTR;
+ goto Header;
+ }
+yy14: yych = *++YYCURSOR;
goto yy3;
-yy13: yyaccept = 1;
+yy15: ++YYCURSOR;
+ if(YYLIMIT == YYCURSOR) YYFILL(1);
+ yych = *YYCURSOR;
+yy16: switch(yych){
+ case ' ': goto yy15;
+ default: goto yy13;
+ }
+yy17: yyaccept = 1;
YYMARKER = ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy14: switch(yych){
- case '\n': case ' ': goto yy13;
- case '\r': goto yy15;
+yy18: switch(yych){
+ case '\n': case ' ': goto yy17;
+ case '\r': goto yy19;
default: goto yy10;
}
-yy15: ++YYCURSOR;
+yy19: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
switch(yych){
- case '\n': goto yy13;
- default: goto yy16;
+ case '\n': goto yy17;
+ default: goto yy20;
}
-yy16: YYCURSOR = YYMARKER;
+yy20: YYCURSOR = YYMARKER;
switch(yyaccept){
case 1: goto yy10;
case 0: goto yy3;
}
-yy17: yych = *++YYCURSOR;
+yy21: yych = *++YYCURSOR;
switch(yych){
- case '.': goto yy18;
- default: goto yy16;
+ case '.': goto yy22;
+ default: goto yy20;
}
-yy18: yych = *++YYCURSOR;
+yy22: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy19;
- case '\r': goto yy23;
- case ' ': goto yy21;
- default: goto yy16;
- }
-yy19: yych = *++YYCURSOR;
-yy20:
-#line 274
+ case '\n': goto yy23;
+ case '\r': goto yy27;
+ case ' ': goto yy25;
+ default: goto yy20;
+ }
+yy23: yych = *++YYCURSOR;
+yy24:
+#line 275
{ SyckLevel *lvl = CURRENT_LEVEL();
if ( lvl->status == syck_lvl_header )
{
@@ -354,33 +369,33 @@ yy20:
}
return 0;
}
-yy21: ++YYCURSOR;
+yy25: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy22: switch(yych){
- case ' ': goto yy21;
- default: goto yy20;
+yy26: switch(yych){
+ case ' ': goto yy25;
+ default: goto yy24;
}
-yy23: yych = *++YYCURSOR;
+yy27: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy19;
- default: goto yy16;
+ case '\n': goto yy23;
+ default: goto yy20;
}
-yy24: yych = *++YYCURSOR;
+yy28: yych = *++YYCURSOR;
switch(yych){
- case '-': goto yy25;
- default: goto yy16;
+ case '-': goto yy29;
+ default: goto yy20;
}
-yy25: yych = *++YYCURSOR;
+yy29: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy26;
- case '\r': goto yy30;
- case ' ': goto yy28;
- default: goto yy16;
- }
-yy26: yych = *++YYCURSOR;
-yy27:
-#line 260
+ case '\n': goto yy30;
+ case '\r': goto yy34;
+ case ' ': goto yy32;
+ default: goto yy20;
+ }
+yy30: yych = *++YYCURSOR;
+yy31:
+#line 261
{ SyckLevel *lvl = CURRENT_LEVEL();
if ( lvl->status == syck_lvl_header )
{
@@ -394,20 +409,20 @@ yy27:
return 0;
}
}
-yy28: ++YYCURSOR;
+yy32: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy29: switch(yych){
- case ' ': goto yy28;
- default: goto yy27;
+yy33: switch(yych){
+ case ' ': goto yy32;
+ default: goto yy31;
}
-yy30: yych = *++YYCURSOR;
+yy34: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy26;
- default: goto yy16;
+ case '\n': goto yy30;
+ default: goto yy20;
}
}
-#line 307
+#line 311
Document:
@@ -423,38 +438,39 @@ Document:
{
YYCTYPE yych;
unsigned int yyaccept;
- goto yy31;
-yy32: ++YYCURSOR;
-yy31:
+ goto yy35;
+yy36: ++YYCURSOR;
+yy35:
if((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
yych = *YYCURSOR;
switch(yych){
- case '\000': goto yy56;
- case '\n': goto yy33;
- case '\r': goto yy35;
- case ' ': goto yy54;
- case '!': goto yy45;
- case '"': goto yy49;
- case '#': goto yy52;
- case '&': goto yy43;
- case '\'': goto yy47;
- case '*': goto yy44;
- case ',': case ':': goto yy41;
- case '-': case '?': goto yy42;
- case '>': case '|': goto yy51;
- case '[': case '{': goto yy37;
- case ']': case '}': goto yy39;
- default: goto yy58;
- }
-yy33: yyaccept = 0;
+ case '\000': goto yy60;
+ case '\n': goto yy37;
+ case '\r': goto yy39;
+ case ' ': goto yy58;
+ case '!': goto yy49;
+ case '"': goto yy53;
+ case '#': goto yy56;
+ case '&': goto yy47;
+ case '\'': goto yy51;
+ case '*': goto yy48;
+ case ',': case ':': goto yy45;
+ case '-': case '?': goto yy46;
+ case '>': case '|': goto yy55;
+ case '[': case '{': goto yy41;
+ case ']': case '}': goto yy43;
+ default: goto yy62;
+ }
+yy37: yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
- goto yy86;
-yy34:
-#line 321
+ goto yy90;
+yy38:
+#line 325
{ /* Isolate spaces */
int indt_len;
GOBBLE_UP_YAML_INDENT( indt_len, YYTOKEN );
lvl = CURRENT_LEVEL();
+ doc_level = 0;
/* Check for open indent */
ENSURE_YAML_IEND(lvl, indt_len);
@@ -465,47 +481,47 @@ yy34:
}
return YAML_INDENT;
}
-yy35: yych = *++YYCURSOR;
+yy39: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy85;
- default: goto yy36;
+ case '\n': goto yy89;
+ default: goto yy40;
}
-yy36:
-#line 408
- { ENSURE_YAML_IOPEN(lvl, 0, 1);
+yy40:
+#line 413
+ { ENSURE_YAML_IOPEN(lvl, doc_level, 1);
goto Plain;
}
-yy37: yych = *++YYCURSOR;
-yy38:
-#line 336
- { ENSURE_YAML_IOPEN(lvl, 0, 1);
+yy41: yych = *++YYCURSOR;
+yy42:
+#line 341
+ { ENSURE_YAML_IOPEN(lvl, doc_level, 1);
lvl = CURRENT_LEVEL();
ADD_LEVEL(lvl->spaces + 1, syck_lvl_inline);
return YYTOKEN[0];
}
-yy39: yych = *++YYCURSOR;
-yy40:
-#line 342
+yy43: yych = *++YYCURSOR;
+yy44:
+#line 347
{ POP_LEVEL();
return YYTOKEN[0];
}
-yy41: yyaccept = 1;
+yy45: yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
switch(yych){
- case '\n': goto yy80;
- case '\r': goto yy84;
- case ' ': goto yy82;
- default: goto yy36;
+ case '\n': goto yy84;
+ case '\r': goto yy88;
+ case ' ': goto yy86;
+ default: goto yy40;
}
-yy42: yyaccept = 1;
+yy46: yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
switch(yych){
- case '\n': goto yy75;
- case '\r': goto yy79;
- case ' ': goto yy77;
- default: goto yy36;
+ case '\n': goto yy79;
+ case '\r': goto yy83;
+ case ' ': goto yy81;
+ default: goto yy40;
}
-yy43: yych = *++YYCURSOR;
+yy47: yych = *++YYCURSOR;
switch(yych){
case '-': case '0':
case '1':
@@ -566,10 +582,10 @@ yy43: yych = *++YYCURSOR;
case 'w':
case 'x':
case 'y':
- case 'z': goto yy72;
- default: goto yy36;
+ case 'z': goto yy76;
+ default: goto yy40;
}
-yy44: yych = *++YYCURSOR;
+yy48: yych = *++YYCURSOR;
switch(yych){
case '-': case '0':
case '1':
@@ -630,30 +646,30 @@ yy44: yych = *++YYCURSOR;
case 'w':
case 'x':
case 'y':
- case 'z': goto yy69;
- default: goto yy36;
+ case 'z': goto yy73;
+ default: goto yy40;
}
-yy45: yych = *++YYCURSOR;
-yy46:
-#line 381
- { ENSURE_YAML_IOPEN(lvl, 0, 1);
- goto TransferMethod; }
-yy47: yych = *++YYCURSOR;
-yy48:
-#line 384
- { ENSURE_YAML_IOPEN(lvl, 0, 1);
- goto SingleQuote; }
yy49: yych = *++YYCURSOR;
yy50:
-#line 387
- { ENSURE_YAML_IOPEN(lvl, 0, 1);
+#line 386
+ { ENSURE_YAML_IOPEN(lvl, doc_level, 1);
+ goto TransferMethod; }
+yy51: yych = *++YYCURSOR;
+yy52:
+#line 389
+ { ENSURE_YAML_IOPEN(lvl, doc_level, 1);
+ goto SingleQuote; }
+yy53: yych = *++YYCURSOR;
+yy54:
+#line 392
+ { ENSURE_YAML_IOPEN(lvl, doc_level, 1);
goto DoubleQuote; }
-yy51: yyaccept = 1;
+yy55: yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
switch(yych){
- case '\n': goto yy64;
- case '\r': goto yy68;
- case ' ': goto yy66;
+ case '\n': goto yy68;
+ case '\r': goto yy72;
+ case ' ': goto yy70;
case '+': case '-': case '0':
case '1':
case '2':
@@ -663,43 +679,43 @@ yy51: yyaccept = 1;
case '6':
case '7':
case '8':
- case '9': goto yy61;
- default: goto yy36;
+ case '9': goto yy65;
+ default: goto yy40;
}
-yy52: yych = *++YYCURSOR;
-yy53:
-#line 397
+yy56: yych = *++YYCURSOR;
+yy57:
+#line 402
{ eat_comments( parser );
goto Document;
}
-yy54: yych = *++YYCURSOR;
- goto yy60;
-yy55:
-#line 401
+yy58: yych = *++YYCURSOR;
+ goto yy64;
+yy59:
+#line 406
{ goto Document; }
-yy56: yych = *++YYCURSOR;
-yy57:
-#line 403
+yy60: yych = *++YYCURSOR;
+yy61:
+#line 408
{ ENSURE_YAML_IEND(lvl, -1);
YYPOS(0);
return 0;
}
-yy58: yych = *++YYCURSOR;
- goto yy36;
-yy59: ++YYCURSOR;
+yy62: yych = *++YYCURSOR;
+ goto yy40;
+yy63: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy60: switch(yych){
- case ' ': goto yy59;
- default: goto yy55;
+yy64: switch(yych){
+ case ' ': goto yy63;
+ default: goto yy59;
}
-yy61: ++YYCURSOR;
+yy65: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy62: switch(yych){
- case '\n': goto yy64;
- case '\r': goto yy68;
- case ' ': goto yy66;
+yy66: switch(yych){
+ case '\n': goto yy68;
+ case '\r': goto yy72;
+ case ' ': goto yy70;
case '+': case '-': case '0':
case '1':
case '2':
@@ -709,39 +725,39 @@ yy62: switch(yych){
case '6':
case '7':
case '8':
- case '9': goto yy61;
- default: goto yy63;
+ case '9': goto yy65;
+ default: goto yy67;
}
-yy63: YYCURSOR = YYMARKER;
+yy67: YYCURSOR = YYMARKER;
switch(yyaccept){
- case 0: goto yy34;
- case 1: goto yy36;
+ case 0: goto yy38;
+ case 1: goto yy40;
}
-yy64: yych = *++YYCURSOR;
-yy65:
-#line 390
+yy68: yych = *++YYCURSOR;
+yy69:
+#line 395
{ if ( is_newline( YYCURSOR - 1 ) )
{
YYCURSOR--;
}
goto ScalarBlock;
}
-yy66: ++YYCURSOR;
+yy70: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy67: switch(yych){
- case ' ': goto yy66;
- default: goto yy65;
+yy71: switch(yych){
+ case ' ': goto yy70;
+ default: goto yy69;
}
-yy68: yych = *++YYCURSOR;
+yy72: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy64;
- default: goto yy63;
+ case '\n': goto yy68;
+ default: goto yy67;
}
-yy69: ++YYCURSOR;
+yy73: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy70: switch(yych){
+yy74: switch(yych){
case '-': case '0':
case '1':
case '2':
@@ -801,19 +817,19 @@ yy70: switch(yych){
case 'w':
case 'x':
case 'y':
- case 'z': goto yy69;
- default: goto yy71;
+ case 'z': goto yy73;
+ default: goto yy75;
}
-yy71:
-#line 376
- { ENSURE_YAML_IOPEN(lvl, 0, 1);
+yy75:
+#line 381
+ { ENSURE_YAML_IOPEN(lvl, doc_level, 1);
sycklval->name = syck_strndup( YYTOKEN + 1, YYCURSOR - YYTOKEN - 1 );
return YAML_ALIAS;
}
-yy72: ++YYCURSOR;
+yy76: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy73: switch(yych){
+yy77: switch(yych){
case '-': case '0':
case '1':
case '2':
@@ -873,12 +889,12 @@ yy73: switch(yych){
case 'w':
case 'x':
case 'y':
- case 'z': goto yy72;
- default: goto yy74;
+ case 'z': goto yy76;
+ default: goto yy78;
}
-yy74:
-#line 364
- { ENSURE_YAML_IOPEN(lvl, 0, 1);
+yy78:
+#line 369
+ { ENSURE_YAML_IOPEN(lvl, doc_level, 1);
sycklval->name = syck_strndup( YYTOKEN + 1, YYCURSOR - YYTOKEN - 1 );
/*
@@ -889,9 +905,9 @@ yy74:
syck_hdlr_remove_anchor(parser, sycklval->name);
return YAML_ANCHOR;
}
-yy75: yych = *++YYCURSOR;
-yy76:
-#line 350
+yy79: yych = *++YYCURSOR;
+yy80:
+#line 355
{ ENSURE_YAML_IOPEN(lvl, YYTOKEN - YYLINEPTR, 1);
FORCE_NEXT_TOKEN(YAML_IOPEN);
if ( is_newline( YYCURSOR ) || is_newline( YYCURSOR - 1 ) )
@@ -905,54 +921,54 @@ yy76:
}
return YYTOKEN[0];
}
-yy77: ++YYCURSOR;
+yy81: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy78: switch(yych){
- case ' ': goto yy77;
- default: goto yy76;
+yy82: switch(yych){
+ case ' ': goto yy81;
+ default: goto yy80;
}
-yy79: yych = *++YYCURSOR;
+yy83: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy75;
- default: goto yy63;
+ case '\n': goto yy79;
+ default: goto yy67;
}
-yy80: yych = *++YYCURSOR;
-yy81:
-#line 346
+yy84: yych = *++YYCURSOR;
+yy85:
+#line 351
{ YYPOS(1);
return YYTOKEN[0];
}
-yy82: ++YYCURSOR;
+yy86: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy83: switch(yych){
- case ' ': goto yy82;
- default: goto yy81;
+yy87: switch(yych){
+ case ' ': goto yy86;
+ default: goto yy85;
}
-yy84: yych = *++YYCURSOR;
+yy88: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy80;
- default: goto yy63;
+ case '\n': goto yy84;
+ default: goto yy67;
}
-yy85: yyaccept = 0;
+yy89: yyaccept = 0;
YYMARKER = ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy86: switch(yych){
- case '\n': case ' ': goto yy85;
- case '\r': goto yy87;
- default: goto yy34;
+yy90: switch(yych){
+ case '\n': case ' ': goto yy89;
+ case '\r': goto yy91;
+ default: goto yy38;
}
-yy87: ++YYCURSOR;
+yy91: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
switch(yych){
- case '\n': goto yy85;
- default: goto yy63;
+ case '\n': goto yy89;
+ default: goto yy67;
}
}
-#line 412
+#line 417
}
@@ -963,22 +979,22 @@ Directive:
{
YYCTYPE yych;
unsigned int yyaccept;
- goto yy88;
-yy89: ++YYCURSOR;
-yy88:
+ goto yy92;
+yy93: ++YYCURSOR;
+yy92:
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = *YYCURSOR;
switch(yych){
- case '\000': goto yy90;
- case ' ': goto yy93;
- case '%': goto yy91;
- default: goto yy95;
+ case '\000': goto yy94;
+ case ' ': goto yy97;
+ case '%': goto yy95;
+ default: goto yy99;
}
-yy90: YYCURSOR = YYMARKER;
+yy94: YYCURSOR = YYMARKER;
switch(yyaccept){
- case 0: goto yy92;
+ case 0: goto yy96;
}
-yy91: yyaccept = 0;
+yy95: yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
switch(yych){
case '.':
@@ -1055,32 +1071,32 @@ yy91: yyaccept = 0;
case 'w':
case 'x':
case 'y':
- case 'z': goto yy98;
- default: goto yy92;
+ case 'z': goto yy102;
+ default: goto yy96;
}
-yy92:
-#line 425
+yy96:
+#line 430
{ YYCURSOR = YYTOKTMP;
return YAML_DOCSEP;
}
-yy93: yych = *++YYCURSOR;
- goto yy97;
-yy94:
-#line 423
+yy97: yych = *++YYCURSOR;
+ goto yy101;
+yy98:
+#line 428
{ goto Directive; }
-yy95: yych = *++YYCURSOR;
- goto yy92;
-yy96: ++YYCURSOR;
+yy99: yych = *++YYCURSOR;
+ goto yy96;
+yy100: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy97: switch(yych){
- case ' ': goto yy96;
- default: goto yy94;
+yy101: switch(yych){
+ case ' ': goto yy100;
+ default: goto yy98;
}
-yy98: ++YYCURSOR;
+yy102: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy99: switch(yych){
+yy103: switch(yych){
case '.':
case '/':
case '0':
@@ -1153,11 +1169,11 @@ yy99: switch(yych){
case 'w':
case 'x':
case 'y':
- case 'z': goto yy98;
- case ':': goto yy100;
- default: goto yy90;
+ case 'z': goto yy102;
+ case ':': goto yy104;
+ default: goto yy94;
}
-yy100: yych = *++YYCURSOR;
+yy104: yych = *++YYCURSOR;
switch(yych){
case '.':
case '/':
@@ -1233,13 +1249,13 @@ yy100: yych = *++YYCURSOR;
case 'w':
case 'x':
case 'y':
- case 'z': goto yy101;
- default: goto yy90;
+ case 'z': goto yy105;
+ default: goto yy94;
}
-yy101: ++YYCURSOR;
+yy105: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy102: switch(yych){
+yy106: switch(yych){
case '.':
case '/':
case '0':
@@ -1314,14 +1330,14 @@ yy102: switch(yych){
case 'w':
case 'x':
case 'y':
- case 'z': goto yy101;
- default: goto yy103;
+ case 'z': goto yy105;
+ default: goto yy107;
}
-yy103:
-#line 421
+yy107:
+#line 426
{ goto Directive; }
}
-#line 428
+#line 433
}
@@ -1346,26 +1362,26 @@ Plain3:
{
YYCTYPE yych;
unsigned int yyaccept;
- goto yy104;
-yy105: ++YYCURSOR;
-yy104:
+ goto yy108;
+yy109: ++YYCURSOR;
+yy108:
if((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
yych = *YYCURSOR;
switch(yych){
- case '\000': goto yy116;
- case '\n': goto yy106;
- case '\r': goto yy108;
- case ' ': goto yy114;
- case ',': goto yy113;
- case ':': goto yy110;
- case ']': case '}': goto yy111;
- default: goto yy118;
- }
-yy106: yyaccept = 0;
+ case '\000': goto yy120;
+ case '\n': goto yy110;
+ case '\r': goto yy112;
+ case ' ': goto yy118;
+ case ',': goto yy117;
+ case ':': goto yy114;
+ case ']': case '}': goto yy115;
+ default: goto yy122;
+ }
+yy110: yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
- goto yy132;
-yy107:
-#line 451
+ goto yy136;
+yy111:
+#line 456
{ int indt_len, nl_count = 0;
SyckLevel *lvl;
char *tok = YYTOKTMP;
@@ -1397,27 +1413,27 @@ yy107:
goto Plain2;
}
-yy108: yych = *++YYCURSOR;
+yy112: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy131;
- default: goto yy109;
+ case '\n': goto yy135;
+ default: goto yy113;
}
-yy109:
-#line 505
+yy113:
+#line 510
{ QUOTECATS(qstr, qcapa, qidx, YYTOKTMP, YYCURSOR - YYTOKTMP);
goto Plain2;
}
-yy110: yyaccept = 1;
+yy114: yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
switch(yych){
- case '\n': goto yy126;
- case '\r': goto yy130;
- case ' ': goto yy128;
- default: goto yy109;
- }
-yy111: yych = *++YYCURSOR;
-yy112:
-#line 485
+ case '\n': goto yy130;
+ case '\r': goto yy134;
+ case ' ': goto yy132;
+ default: goto yy113;
+ }
+yy115: yych = *++YYCURSOR;
+yy116:
+#line 490
{ if ( plvl->status != syck_lvl_inline )
{
if ( *(YYCURSOR - 1) == ' ' || is_newline( YYCURSOR - 1 ) )
@@ -1429,87 +1445,87 @@ yy112:
}
RETURN_IMPLICIT();
}
-yy113: yyaccept = 1;
+yy117: yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
switch(yych){
- case '\n': goto yy121;
- case '\r': goto yy124;
- case ' ': goto yy122;
- default: goto yy109;
+ case '\n': goto yy125;
+ case '\r': goto yy128;
+ case ' ': goto yy126;
+ default: goto yy113;
}
-yy114: yych = *++YYCURSOR;
+yy118: yych = *++YYCURSOR;
switch(yych){
- case '#': goto yy119;
- default: goto yy115;
+ case '#': goto yy123;
+ default: goto yy119;
}
-yy115:
-#line 503
+yy119:
+#line 508
{ goto Plain3; }
-yy116: yych = *++YYCURSOR;
-yy117:
-#line 501
+yy120: yych = *++YYCURSOR;
+yy121:
+#line 506
{ RETURN_IMPLICIT(); }
-yy118: yych = *++YYCURSOR;
- goto yy109;
-yy119: yych = *++YYCURSOR;
-yy120:
-#line 497
+yy122: yych = *++YYCURSOR;
+ goto yy113;
+yy123: yych = *++YYCURSOR;
+yy124:
+#line 502
{ eat_comments( parser );
RETURN_IMPLICIT();
}
-yy121: yych = *++YYCURSOR;
- goto yy112;
-yy122: ++YYCURSOR;
+yy125: yych = *++YYCURSOR;
+ goto yy116;
+yy126: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy123: switch(yych){
- case ' ': goto yy122;
- default: goto yy112;
+yy127: switch(yych){
+ case ' ': goto yy126;
+ default: goto yy116;
}
-yy124: yych = *++YYCURSOR;
+yy128: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy121;
- default: goto yy125;
+ case '\n': goto yy125;
+ default: goto yy129;
}
-yy125: YYCURSOR = YYMARKER;
+yy129: YYCURSOR = YYMARKER;
switch(yyaccept){
- case 0: goto yy107;
- case 1: goto yy109;
+ case 0: goto yy111;
+ case 1: goto yy113;
}
-yy126: yych = *++YYCURSOR;
-yy127:
-#line 483
+yy130: yych = *++YYCURSOR;
+yy131:
+#line 488
{ RETURN_IMPLICIT(); }
-yy128: ++YYCURSOR;
+yy132: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy129: switch(yych){
- case ' ': goto yy128;
- default: goto yy127;
+yy133: switch(yych){
+ case ' ': goto yy132;
+ default: goto yy131;
}
-yy130: yych = *++YYCURSOR;
+yy134: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy126;
- default: goto yy125;
+ case '\n': goto yy130;
+ default: goto yy129;
}
-yy131: yyaccept = 0;
+yy135: yyaccept = 0;
YYMARKER = ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy132: switch(yych){
- case '\n': case ' ': goto yy131;
- case '\r': goto yy133;
- default: goto yy107;
+yy136: switch(yych){
+ case '\n': case ' ': goto yy135;
+ case '\r': goto yy137;
+ default: goto yy111;
}
-yy133: ++YYCURSOR;
+yy137: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
switch(yych){
- case '\n': goto yy131;
- default: goto yy125;
+ case '\n': goto yy135;
+ default: goto yy129;
}
}
-#line 509
+#line 514
}
@@ -1525,23 +1541,23 @@ SingleQuote2:
{
YYCTYPE yych;
unsigned int yyaccept;
- goto yy134;
-yy135: ++YYCURSOR;
-yy134:
+ goto yy138;
+yy139: ++YYCURSOR;
+yy138:
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = *YYCURSOR;
switch(yych){
- case '\000': goto yy142;
- case '\n': goto yy136;
- case '\r': goto yy138;
- case '\'': goto yy140;
- default: goto yy143;
+ case '\000': goto yy146;
+ case '\n': goto yy140;
+ case '\r': goto yy142;
+ case '\'': goto yy144;
+ default: goto yy147;
}
-yy136: yyaccept = 0;
+yy140: yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
- goto yy147;
-yy137:
-#line 523
+ goto yy151;
+yy141:
+#line 528
{ int indt_len;
int nl_count = 0;
SyckLevel *lvl;
@@ -1577,23 +1593,23 @@ yy137:
goto SingleQuote2;
}
-yy138: yych = *++YYCURSOR;
+yy142: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy146;
- default: goto yy139;
+ case '\n': goto yy150;
+ default: goto yy143;
}
-yy139:
-#line 578
+yy143:
+#line 583
{ QUOTECAT(qstr, qcapa, qidx, *(YYCURSOR - 1));
goto SingleQuote2;
}
-yy140: yych = *++YYCURSOR;
+yy144: yych = *++YYCURSOR;
switch(yych){
- case '\'': goto yy144;
- default: goto yy141;
+ case '\'': goto yy148;
+ default: goto yy145;
}
-yy141:
-#line 563
+yy145:
+#line 568
{ SyckLevel *lvl;
SyckNode *n = syck_alloc_str();
lvl = CURRENT_LEVEL();
@@ -1608,38 +1624,38 @@ yy141:
sycklval->nodeData = n;
return YAML_PLAIN;
}
-yy142: yych = *++YYCURSOR;
- goto yy141;
-yy143: yych = *++YYCURSOR;
- goto yy139;
-yy144: yych = *++YYCURSOR;
-yy145:
-#line 559
+yy146: yych = *++YYCURSOR;
+ goto yy145;
+yy147: yych = *++YYCURSOR;
+ goto yy143;
+yy148: yych = *++YYCURSOR;
+yy149:
+#line 564
{ QUOTECAT(qstr, qcapa, qidx, '\'');
goto SingleQuote2;
}
-yy146: yyaccept = 0;
+yy150: yyaccept = 0;
YYMARKER = ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy147: switch(yych){
- case '\n': case ' ': goto yy146;
- case '\r': goto yy148;
- default: goto yy137;
+yy151: switch(yych){
+ case '\n': case ' ': goto yy150;
+ case '\r': goto yy152;
+ default: goto yy141;
}
-yy148: ++YYCURSOR;
+yy152: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
switch(yych){
- case '\n': goto yy146;
- default: goto yy149;
+ case '\n': goto yy150;
+ default: goto yy153;
}
-yy149: YYCURSOR = YYMARKER;
+yy153: YYCURSOR = YYMARKER;
switch(yyaccept){
- case 0: goto yy137;
+ case 0: goto yy141;
}
}
-#line 582
+#line 587
}
@@ -1659,24 +1675,24 @@ DoubleQuote2:
{
YYCTYPE yych;
unsigned int yyaccept;
- goto yy150;
-yy151: ++YYCURSOR;
-yy150:
+ goto yy154;
+yy155: ++YYCURSOR;
+yy154:
if((YYLIMIT - YYCURSOR) < 4) YYFILL(4);
yych = *YYCURSOR;
switch(yych){
- case '\000': goto yy157;
- case '\n': goto yy152;
- case '\r': goto yy154;
- case '"': goto yy159;
- case '\\': goto yy156;
- default: goto yy160;
- }
-yy152: yyaccept = 0;
+ case '\000': goto yy161;
+ case '\n': goto yy156;
+ case '\r': goto yy158;
+ case '"': goto yy163;
+ case '\\': goto yy160;
+ default: goto yy164;
+ }
+yy156: yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
- goto yy174;
-yy153:
-#line 600
+ goto yy178;
+yy157:
+#line 605
{ int indt_len;
int nl_count = 0;
SyckLevel *lvl;
@@ -1716,31 +1732,31 @@ yy153:
keep_nl = 1;
goto DoubleQuote2;
}
-yy154: yych = *++YYCURSOR;
+yy158: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy173;
- default: goto yy155;
+ case '\n': goto yy177;
+ default: goto yy159;
}
-yy155:
-#line 685
+yy159:
+#line 690
{ QUOTECAT(qstr, qcapa, qidx, *(YYCURSOR - 1));
goto DoubleQuote2;
}
-yy156: yyaccept = 1;
+yy160: yyaccept = 1;
yych = *(YYMARKER = ++YYCURSOR);
switch(yych){
- case '\n': goto yy164;
- case '\r': goto yy166;
- case ' ': goto yy161;
+ case '\n': goto yy168;
+ case '\r': goto yy170;
+ case ' ': goto yy165;
case '"': case '\\': case 'a':
case 'b': case 'e':
- case 'f': case 'n': case 'r': case 't': case 'v': goto yy168;
- case 'x': goto yy167;
- default: goto yy155;
+ case 'f': case 'n': case 'r': case 't': case 'v': goto yy172;
+ case 'x': goto yy171;
+ default: goto yy159;
}
-yy157: yych = *++YYCURSOR;
-yy158:
-#line 670
+yy161: yych = *++YYCURSOR;
+yy162:
+#line 675
{ SyckLevel *lvl;
SyckNode *n = syck_alloc_str();
lvl = CURRENT_LEVEL();
@@ -1755,37 +1771,37 @@ yy158:
sycklval->nodeData = n;
return YAML_PLAIN;
}
-yy159: yych = *++YYCURSOR;
- goto yy158;
-yy160: yych = *++YYCURSOR;
- goto yy155;
-yy161: ++YYCURSOR;
+yy163: yych = *++YYCURSOR;
+ goto yy162;
+yy164: yych = *++YYCURSOR;
+ goto yy159;
+yy165: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy162: switch(yych){
- case '\n': goto yy164;
- case '\r': goto yy166;
- case ' ': goto yy161;
- default: goto yy163;
+yy166: switch(yych){
+ case '\n': goto yy168;
+ case '\r': goto yy170;
+ case ' ': goto yy165;
+ default: goto yy167;
}
-yy163: YYCURSOR = YYMARKER;
+yy167: YYCURSOR = YYMARKER;
switch(yyaccept){
- case 0: goto yy153;
- case 1: goto yy155;
+ case 0: goto yy157;
+ case 1: goto yy159;
}
-yy164: yych = *++YYCURSOR;
-yy165:
-#line 665
+yy168: yych = *++YYCURSOR;
+yy169:
+#line 670
{ keep_nl = 0;
YYCURSOR--;
goto DoubleQuote2;
}
-yy166: yych = *++YYCURSOR;
+yy170: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy164;
- default: goto yy163;
+ case '\n': goto yy168;
+ default: goto yy167;
}
-yy167: yych = *++YYCURSOR;
+yy171: yych = *++YYCURSOR;
switch(yych){
case '0':
case '1':
@@ -1806,12 +1822,12 @@ yy167: yych = *++YYCURSOR;
case 'c':
case 'd':
case 'e':
- case 'f': goto yy170;
- default: goto yy163;
+ case 'f': goto yy174;
+ default: goto yy167;
}
-yy168: yych = *++YYCURSOR;
-yy169:
-#line 640
+yy172: yych = *++YYCURSOR;
+yy173:
+#line 645
{ char ch = *( YYCURSOR - 1 );
switch ( ch )
{
@@ -1827,7 +1843,7 @@ yy169:
QUOTECAT(qstr, qcapa, qidx, ch);
goto DoubleQuote2;
}
-yy170: yych = *++YYCURSOR;
+yy174: yych = *++YYCURSOR;
switch(yych){
case '0':
case '1':
@@ -1848,12 +1864,12 @@ yy170: yych = *++YYCURSOR;
case 'c':
case 'd':
case 'e':
- case 'f': goto yy171;
- default: goto yy163;
+ case 'f': goto yy175;
+ default: goto yy167;
}
-yy171: yych = *++YYCURSOR;
-yy172:
-#line 656
+yy175: yych = *++YYCURSOR;
+yy176:
+#line 661
{ long ch;
char *chr_text = syck_strndup( YYTOKTMP, 4 );
chr_text[0] = '0';
@@ -1862,24 +1878,24 @@ yy172:
QUOTECAT(qstr, qcapa, qidx, ch);
goto DoubleQuote2;
}
-yy173: yyaccept = 0;
+yy177: yyaccept = 0;
YYMARKER = ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy174: switch(yych){
- case '\n': case ' ': goto yy173;
- case '\r': goto yy175;
- default: goto yy153;
+yy178: switch(yych){
+ case '\n': case ' ': goto yy177;
+ case '\r': goto yy179;
+ default: goto yy157;
}
-yy175: ++YYCURSOR;
+yy179: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
switch(yych){
- case '\n': goto yy173;
- default: goto yy163;
+ case '\n': goto yy177;
+ default: goto yy167;
}
}
-#line 689
+#line 694
}
@@ -1895,26 +1911,26 @@ TransferMethod2:
{
YYCTYPE yych;
unsigned int yyaccept;
- goto yy176;
-yy177: ++YYCURSOR;
-yy176:
+ goto yy180;
+yy181: ++YYCURSOR;
+yy180:
if((YYLIMIT - YYCURSOR) < 4) YYFILL(4);
yych = *YYCURSOR;
switch(yych){
- case '\000': goto yy178;
- case '\n': goto yy179;
- case '\r': goto yy182;
- case ' ': goto yy181;
- case '\\': goto yy184;
- default: goto yy185;
- }
-yy178: YYCURSOR = YYMARKER;
+ case '\000': goto yy182;
+ case '\n': goto yy183;
+ case '\r': goto yy186;
+ case ' ': goto yy185;
+ case '\\': goto yy188;
+ default: goto yy189;
+ }
+yy182: YYCURSOR = YYMARKER;
switch(yyaccept){
- case 0: goto yy183;
+ case 0: goto yy187;
}
-yy179: yych = *++YYCURSOR;
-yy180:
-#line 703
+yy183: yych = *++YYCURSOR;
+yy184:
+#line 708
{ SyckLevel *lvl;
YYCURSOR = YYTOKTMP;
if ( YYCURSOR == YYTOKEN + 1 )
@@ -1964,27 +1980,27 @@ yy180:
return YAML_TRANSFER;
}
-yy181: yych = *++YYCURSOR;
- goto yy192;
-yy182: yych = *++YYCURSOR;
+yy185: yych = *++YYCURSOR;
+ goto yy196;
+yy186: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy190;
- default: goto yy183;
+ case '\n': goto yy194;
+ default: goto yy187;
}
-yy183:
-#line 765
+yy187:
+#line 770
{ QUOTECAT(qstr, qcapa, qidx, *(YYCURSOR - 1));
goto TransferMethod2;
}
-yy184: yyaccept = 0;
+yy188: yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
switch(yych){
- case 'x': goto yy186;
- default: goto yy183;
+ case 'x': goto yy190;
+ default: goto yy187;
}
-yy185: yych = *++YYCURSOR;
- goto yy183;
-yy186: yych = *++YYCURSOR;
+yy189: yych = *++YYCURSOR;
+ goto yy187;
+yy190: yych = *++YYCURSOR;
switch(yych){
case '0':
case '1':
@@ -2005,10 +2021,10 @@ yy186: yych = *++YYCURSOR;
case 'c':
case 'd':
case 'e':
- case 'f': goto yy187;
- default: goto yy178;
+ case 'f': goto yy191;
+ default: goto yy182;
}
-yy187: yych = *++YYCURSOR;
+yy191: yych = *++YYCURSOR;
switch(yych){
case '0':
case '1':
@@ -2029,12 +2045,12 @@ yy187: yych = *++YYCURSOR;
case 'c':
case 'd':
case 'e':
- case 'f': goto yy188;
- default: goto yy178;
+ case 'f': goto yy192;
+ default: goto yy182;
}
-yy188: yych = *++YYCURSOR;
-yy189:
-#line 756
+yy192: yych = *++YYCURSOR;
+yy193:
+#line 761
{ long ch;
char *chr_text = syck_strndup( YYTOKTMP, 4 );
chr_text[0] = '0';
@@ -2043,17 +2059,17 @@ yy189:
QUOTECAT(qstr, qcapa, qidx, ch);
goto TransferMethod2;
}
-yy190: yych = *++YYCURSOR;
- goto yy180;
-yy191: ++YYCURSOR;
+yy194: yych = *++YYCURSOR;
+ goto yy184;
+yy195: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy192: switch(yych){
- case ' ': goto yy191;
- default: goto yy180;
+yy196: switch(yych){
+ case ' ': goto yy195;
+ default: goto yy184;
}
}
-#line 770
+#line 775
}
@@ -2102,23 +2118,23 @@ ScalarBlock2:
{
YYCTYPE yych;
unsigned int yyaccept;
- goto yy193;
-yy194: ++YYCURSOR;
-yy193:
+ goto yy197;
+yy198: ++YYCURSOR;
+yy197:
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = *YYCURSOR;
switch(yych){
- case '\000': goto yy201;
- case '\n': goto yy195;
- case '\r': goto yy197;
- case '#': goto yy199;
- default: goto yy203;
+ case '\000': goto yy205;
+ case '\n': goto yy199;
+ case '\r': goto yy201;
+ case '#': goto yy203;
+ default: goto yy207;
}
-yy195: yyaccept = 0;
+yy199: yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
- goto yy205;
-yy196:
-#line 817
+ goto yy209;
+yy200:
+#line 822
{ char *pacer;
char *tok = YYTOKTMP;
int indt_len = 0, nl_count = 0, fold_nl = 0, nl_begin = 0;
@@ -2184,19 +2200,19 @@ yy196:
}
goto ScalarBlock2;
}
-yy197: yych = *++YYCURSOR;
+yy201: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy204;
- default: goto yy198;
+ case '\n': goto yy208;
+ default: goto yy202;
}
-yy198:
-#line 903
+yy202:
+#line 908
{ QUOTECAT(qstr, qcapa, qidx, *YYTOKTMP);
goto ScalarBlock2;
}
-yy199: yych = *++YYCURSOR;
-yy200:
-#line 884
+yy203: yych = *++YYCURSOR;
+yy204:
+#line 889
{ lvl = CURRENT_LEVEL();
if ( lvl->status != syck_lvl_block )
{
@@ -2209,37 +2225,37 @@ yy200:
}
goto ScalarBlock2;
}
-yy201: yych = *++YYCURSOR;
-yy202:
-#line 898
+yy205: yych = *++YYCURSOR;
+yy206:
+#line 903
{ YYCURSOR--;
POP_LEVEL();
RETURN_YAML_BLOCK();
}
-yy203: yych = *++YYCURSOR;
- goto yy198;
-yy204: yyaccept = 0;
+yy207: yych = *++YYCURSOR;
+ goto yy202;
+yy208: yyaccept = 0;
YYMARKER = ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy205: switch(yych){
- case '\n': case ' ': goto yy204;
- case '\r': goto yy206;
- default: goto yy196;
+yy209: switch(yych){
+ case '\n': case ' ': goto yy208;
+ case '\r': goto yy210;
+ default: goto yy200;
}
-yy206: ++YYCURSOR;
+yy210: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
switch(yych){
- case '\n': goto yy204;
- default: goto yy207;
+ case '\n': goto yy208;
+ default: goto yy211;
}
-yy207: YYCURSOR = YYMARKER;
+yy211: YYCURSOR = YYMARKER;
switch(yyaccept){
- case 0: goto yy196;
+ case 0: goto yy200;
}
}
-#line 908
+#line 913
}
@@ -2259,59 +2275,59 @@ Comment:
{
YYCTYPE yych;
unsigned int yyaccept;
- goto yy208;
-yy209: ++YYCURSOR;
-yy208:
+ goto yy212;
+yy213: ++YYCURSOR;
+yy212:
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
yych = *YYCURSOR;
switch(yych){
- case '\000': goto yy210;
- case '\n': goto yy212;
- case '\r': goto yy213;
- default: goto yy215;
+ case '\000': goto yy214;
+ case '\n': goto yy216;
+ case '\r': goto yy217;
+ default: goto yy219;
}
-yy210: yych = *++YYCURSOR;
-yy211:
-#line 926
+yy214: yych = *++YYCURSOR;
+yy215:
+#line 931
{ YYCURSOR = tok;
return;
}
-yy212: yyaccept = 0;
+yy216: yyaccept = 0;
yych = *(YYMARKER = ++YYCURSOR);
- goto yy217;
-yy213: yych = *++YYCURSOR;
+ goto yy221;
+yy217: yych = *++YYCURSOR;
switch(yych){
- case '\n': goto yy216;
- default: goto yy214;
+ case '\n': goto yy220;
+ default: goto yy218;
}
-yy214:
-#line 930
+yy218:
+#line 935
{ goto Comment;
}
-yy215: yych = *++YYCURSOR;
- goto yy214;
-yy216: yyaccept = 0;
+yy219: yych = *++YYCURSOR;
+ goto yy218;
+yy220: yyaccept = 0;
YYMARKER = ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
-yy217: switch(yych){
- case '\n': goto yy216;
- case '\r': goto yy218;
- default: goto yy211;
+yy221: switch(yych){
+ case '\n': goto yy220;
+ case '\r': goto yy222;
+ default: goto yy215;
}
-yy218: ++YYCURSOR;
+yy222: ++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
yych = *YYCURSOR;
switch(yych){
- case '\n': goto yy216;
- default: goto yy219;
+ case '\n': goto yy220;
+ default: goto yy223;
}
-yy219: YYCURSOR = YYMARKER;
+yy223: YYCURSOR = YYMARKER;
switch(yyaccept){
- case 0: goto yy211;
+ case 0: goto yy215;
}
}
-#line 933
+#line 938
}