From ca8a41215f5a3ec27abdf3cf73f45d84264b22c3 Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Tue, 4 Aug 2009 11:15:37 +0000 Subject: [PATCH] - Retouch without my path in the #line directives --- Zend/zend_ini_scanner.c | 118 ++++++++++++++++++++-------------------- 1 file changed, 59 insertions(+), 59 deletions(-) diff --git a/Zend/zend_ini_scanner.c b/Zend/zend_ini_scanner.c index eb975fbce67..62ad2871d10 100644 --- a/Zend/zend_ini_scanner.c +++ b/Zend/zend_ini_scanner.c @@ -1,5 +1,5 @@ -/* Generated by re2c 0.13.5 on Tue Aug 4 05:44:36 2009 */ -#line 1 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +/* Generated by re2c 0.13.5 on Tue Aug 4 14:09:33 2009 */ +#line 1 "Zend/zend_ini_scanner.l" /* +----------------------------------------------------------------------+ | Zend Engine | @@ -430,7 +430,7 @@ yy2: yy3: YYDEBUG(3, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 389 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 389 "Zend/zend_ini_scanner.l" { /* Get option name */ RETURN_TOKEN(TC_LABEL, yytext, yyleng); } @@ -443,7 +443,7 @@ yy4: yy5: YYDEBUG(5, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 474 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 474 "Zend/zend_ini_scanner.l" { /* eat whitespace */ goto restart; @@ -455,7 +455,7 @@ yy6: yy7: YYDEBUG(7, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 479 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 479 "Zend/zend_ini_scanner.l" { SCNG(lineno)++; return END_OF_LINE; @@ -471,7 +471,7 @@ yy9: ++YYCURSOR; YYDEBUG(10, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 429 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 429 "Zend/zend_ini_scanner.l" { /* Disallow these chars outside option values */ return yytext[0]; } @@ -492,7 +492,7 @@ yy13: goto yy51; YYDEBUG(14, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 502 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 502 "Zend/zend_ini_scanner.l" { return 0; } @@ -505,7 +505,7 @@ yy15: yy16: YYDEBUG(16, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 393 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 393 "Zend/zend_ini_scanner.l" { /* Start option value */ if (SCNG(scanner_mode) == ZEND_INI_SCANNER_RAW) { yy_push_state(ST_RAW TSRMLS_CC); @@ -570,7 +570,7 @@ yy22: ++YYCURSOR; YYDEBUG(23, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 327 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 327 "Zend/zend_ini_scanner.l" { /* Section start */ /* Enter section data lookup state */ if (SCNG(scanner_mode) == ZEND_INI_SCANNER_RAW) { @@ -610,7 +610,7 @@ yy27: } YYDEBUG(29, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 352 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 352 "Zend/zend_ini_scanner.l" { /* Start of option with offset */ /* Eat trailing whitespace and [ */ EAT_TRAILING_WHITESPACE_EX('['); @@ -661,7 +661,7 @@ yy30: yy31: YYDEBUG(31, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 381 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 381 "Zend/zend_ini_scanner.l" { /* TRUE value (when used outside option value/offset this causes parse error!) */ RETURN_TOKEN(BOOL_TRUE, "1", 1); } @@ -731,7 +731,7 @@ yy37: yy38: YYDEBUG(38, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 385 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 385 "Zend/zend_ini_scanner.l" { /* FALSE value (when used outside option value/offset this causes parse error!)*/ RETURN_TOKEN(BOOL_FALSE, "", 0); } @@ -850,7 +850,7 @@ yy52: yy53: YYDEBUG(53, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 484 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 484 "Zend/zend_ini_scanner.l" { /* Comment */ BEGIN(INITIAL); SCNG(lineno)++; @@ -936,7 +936,7 @@ yy61: yy62: YYDEBUG(62, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 490 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 490 "Zend/zend_ini_scanner.l" { /* #Comment */ zend_error(E_DEPRECATED, "Comments starting with '#' are deprecated in %s on line %d", zend_ini_scanner_get_filename(TSRMLS_C), SCNG(lineno)); BEGIN(INITIAL); @@ -1040,7 +1040,7 @@ yyc_ST_DOUBLE_QUOTES: yy71: YYDEBUG(71, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 456 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 456 "Zend/zend_ini_scanner.l" { /* Escape double quoted string contents */ if(yyleng > 1 && yytext[yyleng-1] == '"' && yytext[yyleng-2] == '\\') { yyless(yyleng-1); @@ -1058,7 +1058,7 @@ yy72: yy73: YYDEBUG(73, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 465 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 465 "Zend/zend_ini_scanner.l" { /* Double quoted '"' string ends */ yy_pop_state(TSRMLS_C); return '"'; @@ -1078,7 +1078,7 @@ yy74: yy75: YYDEBUG(75, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 502 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 502 "Zend/zend_ini_scanner.l" { return 0; } @@ -1198,7 +1198,7 @@ yy91: ++YYCURSOR; YYDEBUG(92, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 367 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 367 "Zend/zend_ini_scanner.l" { /* Variable start */ yy_push_state(ST_VARNAME TSRMLS_CC); return TC_DOLLAR_CURLY; @@ -1302,7 +1302,7 @@ yy97: yy98: YYDEBUG(98, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 447 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 447 "Zend/zend_ini_scanner.l" { /* Get rest as section/offset value */ RETURN_TOKEN(TC_STRING, yytext, yyleng); } @@ -1323,7 +1323,7 @@ yy100: yy101: YYDEBUG(101, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 502 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 502 "Zend/zend_ini_scanner.l" { return 0; } @@ -1334,7 +1334,7 @@ yy102: yy103: YYDEBUG(103, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 451 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 451 "Zend/zend_ini_scanner.l" { /* Double quoted '"' string start */ yy_push_state(ST_DOUBLE_QUOTES TSRMLS_CC); return '"'; @@ -1401,7 +1401,7 @@ yy108: yy109: YYDEBUG(109, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 425 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 425 "Zend/zend_ini_scanner.l" { /* Get number option value as string */ RETURN_TOKEN(TC_NUMBER, yytext, yyleng); } @@ -1431,7 +1431,7 @@ yy110: yy111: YYDEBUG(111, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 421 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 421 "Zend/zend_ini_scanner.l" { /* Get constant option value */ RETURN_TOKEN(TC_CONSTANT, yytext, yyleng); } @@ -1446,7 +1446,7 @@ yy113: yy114: YYDEBUG(114, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 362 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 362 "Zend/zend_ini_scanner.l" { /* End of section or an option offset */ BEGIN(INITIAL); return ']'; @@ -1741,7 +1741,7 @@ yy136: ++YYCURSOR; YYDEBUG(139, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 337 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 337 "Zend/zend_ini_scanner.l" { /* Raw string */ /* Eat leading and trailing single quotes */ if (yytext[0] == '\'' && yytext[yyleng - 1] == '\'') { @@ -1756,7 +1756,7 @@ yy140: ++YYCURSOR; YYDEBUG(141, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 367 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 367 "Zend/zend_ini_scanner.l" { /* Variable start */ yy_push_state(ST_VARNAME TSRMLS_CC); return TC_DOLLAR_CURLY; @@ -1865,7 +1865,7 @@ yyc_ST_RAW: yy149: YYDEBUG(149, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 402 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 402 "Zend/zend_ini_scanner.l" { /* Raw value, only used when SCNG(scanner_mode) == ZEND_INI_SCANNER_RAW. */ /* Eat leading and trailing double quotes */ if (yytext[0] == '"' && yytext[yyleng - 1] == '"') { @@ -1896,7 +1896,7 @@ yy151: yy152: YYDEBUG(152, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 415 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 415 "Zend/zend_ini_scanner.l" { /* End of option value */ BEGIN(INITIAL); SCNG(lineno)++; @@ -1915,7 +1915,7 @@ yy154: goto yy157; YYDEBUG(155, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 497 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 497 "Zend/zend_ini_scanner.l" { /* End of option value (if EOF is reached before EOL */ BEGIN(INITIAL); return END_OF_LINE; @@ -1938,7 +1938,7 @@ yy158: yy159: YYDEBUG(159, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 484 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 484 "Zend/zend_ini_scanner.l" { /* Comment */ BEGIN(INITIAL); SCNG(lineno)++; @@ -2042,7 +2042,7 @@ yyc_ST_SECTION_RAW: yy170: YYDEBUG(170, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 411 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 411 "Zend/zend_ini_scanner.l" { /* Raw value, only used when SCNG(scanner_mode) == ZEND_INI_SCANNER_RAW. */ RETURN_TOKEN(TC_RAW, yytext, yyleng); } @@ -2052,7 +2052,7 @@ yy171: ++YYCURSOR; YYDEBUG(172, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 502 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 502 "Zend/zend_ini_scanner.l" { return 0; } @@ -2065,7 +2065,7 @@ yy173: yy174: YYDEBUG(174, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 346 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 346 "Zend/zend_ini_scanner.l" { /* End of section */ BEGIN(INITIAL); SCNG(lineno)++; @@ -2192,7 +2192,7 @@ yy183: yy184: YYDEBUG(184, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 447 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 447 "Zend/zend_ini_scanner.l" { /* Get rest as section/offset value */ RETURN_TOKEN(TC_STRING, yytext, yyleng); } @@ -2215,7 +2215,7 @@ yy186: yy187: YYDEBUG(187, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 502 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 502 "Zend/zend_ini_scanner.l" { return 0; } @@ -2226,7 +2226,7 @@ yy188: yy189: YYDEBUG(189, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 451 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 451 "Zend/zend_ini_scanner.l" { /* Double quoted '"' string start */ yy_push_state(ST_DOUBLE_QUOTES TSRMLS_CC); return '"'; @@ -2293,7 +2293,7 @@ yy194: yy195: YYDEBUG(195, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 425 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 425 "Zend/zend_ini_scanner.l" { /* Get number option value as string */ RETURN_TOKEN(TC_NUMBER, yytext, yyleng); } @@ -2323,7 +2323,7 @@ yy196: yy197: YYDEBUG(197, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 421 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 421 "Zend/zend_ini_scanner.l" { /* Get constant option value */ RETURN_TOKEN(TC_CONSTANT, yytext, yyleng); } @@ -2340,7 +2340,7 @@ yy199: yy200: YYDEBUG(200, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 346 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 346 "Zend/zend_ini_scanner.l" { /* End of section */ BEGIN(INITIAL); SCNG(lineno)++; @@ -2658,7 +2658,7 @@ yy226: ++YYCURSOR; YYDEBUG(229, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 337 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 337 "Zend/zend_ini_scanner.l" { /* Raw string */ /* Eat leading and trailing single quotes */ if (yytext[0] == '\'' && yytext[yyleng - 1] == '\'') { @@ -2673,7 +2673,7 @@ yy230: ++YYCURSOR; YYDEBUG(231, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 367 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 367 "Zend/zend_ini_scanner.l" { /* Variable start */ yy_push_state(ST_VARNAME TSRMLS_CC); return TC_DOLLAR_CURLY; @@ -2857,7 +2857,7 @@ yy237: yy238: YYDEBUG(238, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 497 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 497 "Zend/zend_ini_scanner.l" { /* End of option value (if EOF is reached before EOL */ BEGIN(INITIAL); return END_OF_LINE; @@ -2871,7 +2871,7 @@ yy239: yy240: YYDEBUG(240, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 443 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 443 "Zend/zend_ini_scanner.l" { /* Get everything else as option/offset value */ RETURN_TOKEN(TC_STRING, yytext, yyleng); } @@ -2884,7 +2884,7 @@ yy241: yy242: YYDEBUG(242, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 470 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 470 "Zend/zend_ini_scanner.l" { RETURN_TOKEN(TC_WHITESPACE, yytext, yyleng); } @@ -2895,7 +2895,7 @@ yy243: yy244: YYDEBUG(244, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 415 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 415 "Zend/zend_ini_scanner.l" { /* End of option value */ BEGIN(INITIAL); SCNG(lineno)++; @@ -2915,7 +2915,7 @@ yy246: yy247: YYDEBUG(247, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 433 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 433 "Zend/zend_ini_scanner.l" { /* Boolean operators */ return yytext[0]; } @@ -2926,7 +2926,7 @@ yy248: yy249: YYDEBUG(249, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 451 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 451 "Zend/zend_ini_scanner.l" { /* Double quoted '"' string start */ yy_push_state(ST_DOUBLE_QUOTES TSRMLS_CC); return '"'; @@ -3007,7 +3007,7 @@ yy254: yy255: YYDEBUG(255, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 425 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 425 "Zend/zend_ini_scanner.l" { /* Get number option value as string */ RETURN_TOKEN(TC_NUMBER, yytext, yyleng); } @@ -3022,7 +3022,7 @@ yy257: ++YYCURSOR; YYDEBUG(258, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 437 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 437 "Zend/zend_ini_scanner.l" { /* Make = used in option value to trigger error */ yyless(0); BEGIN(INITIAL); @@ -3064,7 +3064,7 @@ yy259: yy260: YYDEBUG(260, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 421 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 421 "Zend/zend_ini_scanner.l" { /* Get constant option value */ RETURN_TOKEN(TC_CONSTANT, yytext, yyleng); } @@ -3560,7 +3560,7 @@ yy276: yy277: YYDEBUG(277, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 381 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 381 "Zend/zend_ini_scanner.l" { /* TRUE value (when used outside option value/offset this causes parse error!) */ RETURN_TOKEN(BOOL_TRUE, "1", 1); } @@ -3764,7 +3764,7 @@ yy283: yy284: YYDEBUG(284, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 385 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 385 "Zend/zend_ini_scanner.l" { /* FALSE value (when used outside option value/offset this causes parse error!)*/ RETURN_TOKEN(BOOL_FALSE, "", 0); } @@ -4144,7 +4144,7 @@ yy296: yy297: YYDEBUG(297, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 484 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 484 "Zend/zend_ini_scanner.l" { /* Comment */ BEGIN(INITIAL); SCNG(lineno)++; @@ -4362,7 +4362,7 @@ yy307: ++YYCURSOR; YYDEBUG(310, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 337 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 337 "Zend/zend_ini_scanner.l" { /* Raw string */ /* Eat leading and trailing single quotes */ if (yytext[0] == '\'' && yytext[yyleng - 1] == '\'') { @@ -4377,7 +4377,7 @@ yy311: ++YYCURSOR; YYDEBUG(312, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 367 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 367 "Zend/zend_ini_scanner.l" { /* Variable start */ yy_push_state(ST_VARNAME TSRMLS_CC); return TC_DOLLAR_CURLY; @@ -4511,7 +4511,7 @@ yyc_ST_VARNAME: yy323: YYDEBUG(323, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 372 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 372 "Zend/zend_ini_scanner.l" { /* Variable name */ RETURN_TOKEN(TC_VARNAME, yytext, yyleng); } @@ -4521,7 +4521,7 @@ yy324: ++YYCURSOR; YYDEBUG(325, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 502 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 502 "Zend/zend_ini_scanner.l" { return 0; } @@ -4531,7 +4531,7 @@ yy326: ++YYCURSOR; YYDEBUG(327, *YYCURSOR); yyleng = YYCURSOR - SCNG(yy_text); -#line 376 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 376 "Zend/zend_ini_scanner.l" { /* Variable end */ yy_pop_state(TSRMLS_C); return '}'; @@ -4550,6 +4550,6 @@ yy329: goto yy323; } } -#line 506 "/home/jani/src/php-5.3/Zend/zend_ini_scanner.l" +#line 506 "Zend/zend_ini_scanner.l" }