summaryrefslogtreecommitdiff
path: root/ext/standard/url_scanner_ex.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/url_scanner_ex.c')
-rw-r--r--ext/standard/url_scanner_ex.c112
1 files changed, 56 insertions, 56 deletions
diff --git a/ext/standard/url_scanner_ex.c b/ext/standard/url_scanner_ex.c
index 16f2fd211d..82a945e85b 100644
--- a/ext/standard/url_scanner_ex.c
+++ b/ext/standard/url_scanner_ex.c
@@ -1,5 +1,5 @@
/* Generated by re2c 0.11.0 on Tue Jun 5 19:51:02 2007 */
-#line 1 "url_scanner_ex.re"
+#line 1 "ext/standard/url_scanner_ex.re"
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
@@ -91,7 +91,7 @@ PHP_INI_BEGIN()
STD_PHP_INI_ENTRY("url_rewriter.tags", "a=href,area=href,frame=src,form=,fieldset=", PHP_INI_ALL, OnUpdateTags, url_adapt_state_ex, php_basic_globals, basic_globals)
PHP_INI_END()
-#line 98 "url_scanner_ex.re"
+#line 98 "ext/standard/url_scanner_ex.re"
#define YYFILL(n) goto done
@@ -145,7 +145,7 @@ scan:
128, 128, 128, 128, 128, 128, 128, 128,
};
-#line 149 "url_scanner_ex.c"
+#line 149 "ext/standard/url_scanner_ex.c"
{
YYCTYPE yych;
@@ -157,19 +157,19 @@ scan:
if(yych <= '9') goto yy6;
if(yych >= ';') goto yy4;
++YYCURSOR;
-#line 116 "url_scanner_ex.re"
+#line 116 "ext/standard/url_scanner_ex.re"
{ smart_str_append(dest, url); return; }
-#line 163 "url_scanner_ex.c"
+#line 163 "ext/standard/url_scanner_ex.c"
yy4:
++YYCURSOR;
-#line 117 "url_scanner_ex.re"
+#line 117 "ext/standard/url_scanner_ex.re"
{ sep = separator; goto scan; }
-#line 168 "url_scanner_ex.c"
+#line 168 "ext/standard/url_scanner_ex.c"
yy6:
++YYCURSOR;
-#line 118 "url_scanner_ex.re"
+#line 118 "ext/standard/url_scanner_ex.re"
{ bash = p - 1; goto done; }
-#line 173 "url_scanner_ex.c"
+#line 173 "ext/standard/url_scanner_ex.c"
yy8:
++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
@@ -177,12 +177,12 @@ yy8:
if(yybm[0+yych] & 128) {
goto yy8;
}
-#line 119 "url_scanner_ex.re"
+#line 119 "ext/standard/url_scanner_ex.re"
{ goto scan; }
-#line 183 "url_scanner_ex.c"
+#line 183 "ext/standard/url_scanner_ex.c"
}
}
-#line 120 "url_scanner_ex.re"
+#line 120 "ext/standard/url_scanner_ex.re"
done:
@@ -386,7 +386,7 @@ state_plain:
128, 128, 128, 128, 128, 128, 128, 128,
};
-#line 390 "url_scanner_ex.c"
+#line 390 "ext/standard/url_scanner_ex.c"
{
YYCTYPE yych;
if(YYLIMIT == YYCURSOR) YYFILL(1);
@@ -395,9 +395,9 @@ state_plain:
goto yy15;
}
++YYCURSOR;
-#line 288 "url_scanner_ex.re"
+#line 288 "ext/standard/url_scanner_ex.re"
{ passthru(STD_ARGS); STATE = STATE_TAG; goto state_tag; }
-#line 401 "url_scanner_ex.c"
+#line 401 "ext/standard/url_scanner_ex.c"
yy15:
++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
@@ -405,12 +405,12 @@ yy15:
if(yybm[0+yych] & 128) {
goto yy15;
}
-#line 289 "url_scanner_ex.re"
+#line 289 "ext/standard/url_scanner_ex.re"
{ passthru(STD_ARGS); goto state_plain; }
-#line 411 "url_scanner_ex.c"
+#line 411 "ext/standard/url_scanner_ex.c"
}
}
-#line 290 "url_scanner_ex.re"
+#line 290 "ext/standard/url_scanner_ex.re"
state_tag:
@@ -451,7 +451,7 @@ state_tag:
0, 0, 0, 0, 0, 0, 0, 0,
};
-#line 455 "url_scanner_ex.c"
+#line 455 "ext/standard/url_scanner_ex.c"
{
YYCTYPE yych;
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
@@ -468,14 +468,14 @@ yy20:
yych = *YYCURSOR;
goto yy25;
yy21:
-#line 295 "url_scanner_ex.re"
+#line 295 "ext/standard/url_scanner_ex.re"
{ handle_tag(STD_ARGS); /* Sets STATE */; passthru(STD_ARGS); if (STATE == STATE_PLAIN) goto state_plain; else goto state_next_arg; }
-#line 474 "url_scanner_ex.c"
+#line 474 "ext/standard/url_scanner_ex.c"
yy22:
++YYCURSOR;
-#line 296 "url_scanner_ex.re"
+#line 296 "ext/standard/url_scanner_ex.re"
{ passthru(STD_ARGS); goto state_plain_begin; }
-#line 479 "url_scanner_ex.c"
+#line 479 "ext/standard/url_scanner_ex.c"
yy24:
++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
@@ -487,7 +487,7 @@ yy25:
goto yy21;
}
}
-#line 297 "url_scanner_ex.re"
+#line 297 "ext/standard/url_scanner_ex.re"
state_next_arg_begin:
@@ -531,7 +531,7 @@ state_next_arg:
0, 0, 0, 0, 0, 0, 0, 0,
};
-#line 535 "url_scanner_ex.c"
+#line 535 "ext/standard/url_scanner_ex.c"
{
YYCTYPE yych;
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
@@ -557,27 +557,27 @@ state_next_arg:
}
}
++YYCURSOR;
-#line 305 "url_scanner_ex.re"
+#line 305 "ext/standard/url_scanner_ex.re"
{ passthru(STD_ARGS); handle_form(STD_ARGS); goto state_plain_begin; }
-#line 563 "url_scanner_ex.c"
+#line 563 "ext/standard/url_scanner_ex.c"
yy30:
++YYCURSOR;
yych = *YYCURSOR;
goto yy37;
yy31:
-#line 306 "url_scanner_ex.re"
+#line 306 "ext/standard/url_scanner_ex.re"
{ passthru(STD_ARGS); goto state_next_arg; }
-#line 571 "url_scanner_ex.c"
+#line 571 "ext/standard/url_scanner_ex.c"
yy32:
++YYCURSOR;
-#line 307 "url_scanner_ex.re"
+#line 307 "ext/standard/url_scanner_ex.re"
{ --YYCURSOR; STATE = STATE_ARG; goto state_arg; }
-#line 576 "url_scanner_ex.c"
+#line 576 "ext/standard/url_scanner_ex.c"
yy34:
++YYCURSOR;
-#line 308 "url_scanner_ex.re"
+#line 308 "ext/standard/url_scanner_ex.re"
{ passthru(STD_ARGS); goto state_plain_begin; }
-#line 581 "url_scanner_ex.c"
+#line 581 "ext/standard/url_scanner_ex.c"
yy36:
++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
@@ -589,7 +589,7 @@ yy37:
goto yy31;
}
}
-#line 309 "url_scanner_ex.re"
+#line 309 "ext/standard/url_scanner_ex.re"
state_arg:
@@ -630,7 +630,7 @@ state_arg:
0, 0, 0, 0, 0, 0, 0, 0,
};
-#line 634 "url_scanner_ex.c"
+#line 634 "ext/standard/url_scanner_ex.c"
{
YYCTYPE yych;
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
@@ -644,14 +644,14 @@ yy40:
yych = *YYCURSOR;
goto yy45;
yy41:
-#line 314 "url_scanner_ex.re"
+#line 314 "ext/standard/url_scanner_ex.re"
{ passthru(STD_ARGS); handle_arg(STD_ARGS); STATE = STATE_BEFORE_VAL; goto state_before_val; }
-#line 650 "url_scanner_ex.c"
+#line 650 "ext/standard/url_scanner_ex.c"
yy42:
++YYCURSOR;
-#line 315 "url_scanner_ex.re"
+#line 315 "ext/standard/url_scanner_ex.re"
{ passthru(STD_ARGS); STATE = STATE_NEXT_ARG; goto state_next_arg; }
-#line 655 "url_scanner_ex.c"
+#line 655 "ext/standard/url_scanner_ex.c"
yy44:
++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
@@ -663,7 +663,7 @@ yy45:
goto yy41;
}
}
-#line 316 "url_scanner_ex.re"
+#line 316 "ext/standard/url_scanner_ex.re"
state_before_val:
@@ -704,7 +704,7 @@ state_before_val:
0, 0, 0, 0, 0, 0, 0, 0,
};
-#line 708 "url_scanner_ex.c"
+#line 708 "ext/standard/url_scanner_ex.c"
{
YYCTYPE yych;
if((YYLIMIT - YYCURSOR) < 2) YYFILL(2);
@@ -717,17 +717,17 @@ yy48:
if(yych == ' ') goto yy55;
if(yych == '=') goto yy53;
yy49:
-#line 322 "url_scanner_ex.re"
+#line 322 "ext/standard/url_scanner_ex.re"
{ --YYCURSOR; goto state_next_arg_begin; }
-#line 723 "url_scanner_ex.c"
+#line 723 "ext/standard/url_scanner_ex.c"
yy50:
++YYCURSOR;
yych = *YYCURSOR;
goto yy54;
yy51:
-#line 321 "url_scanner_ex.re"
+#line 321 "ext/standard/url_scanner_ex.re"
{ passthru(STD_ARGS); STATE = STATE_VAL; goto state_val; }
-#line 731 "url_scanner_ex.c"
+#line 731 "ext/standard/url_scanner_ex.c"
yy52:
yych = *++YYCURSOR;
goto yy49;
@@ -750,7 +750,7 @@ yy55:
goto yy49;
}
}
-#line 323 "url_scanner_ex.re"
+#line 323 "ext/standard/url_scanner_ex.re"
@@ -792,7 +792,7 @@ state_val:
248, 248, 248, 248, 248, 248, 248, 248,
};
-#line 796 "url_scanner_ex.c"
+#line 796 "ext/standard/url_scanner_ex.c"
{
YYCTYPE yych;
if((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
@@ -819,9 +819,9 @@ state_val:
yych = *(YYMARKER = ++YYCURSOR);
goto yy77;
yy61:
-#line 331 "url_scanner_ex.re"
+#line 331 "ext/standard/url_scanner_ex.re"
{ handle_val(STD_ARGS, 0, ' '); goto state_next_arg_begin; }
-#line 825 "url_scanner_ex.c"
+#line 825 "ext/standard/url_scanner_ex.c"
yy62:
yych = *(YYMARKER = ++YYCURSOR);
goto yy69;
@@ -830,9 +830,9 @@ yy63:
goto yy67;
yy64:
++YYCURSOR;
-#line 332 "url_scanner_ex.re"
+#line 332 "ext/standard/url_scanner_ex.re"
{ passthru(STD_ARGS); goto state_next_arg_begin; }
-#line 836 "url_scanner_ex.c"
+#line 836 "ext/standard/url_scanner_ex.c"
yy66:
++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
@@ -857,9 +857,9 @@ yy69:
goto yy66;
}
yy71:
-#line 330 "url_scanner_ex.re"
+#line 330 "ext/standard/url_scanner_ex.re"
{ handle_val(STD_ARGS, 1, '\''); goto state_next_arg_begin; }
-#line 863 "url_scanner_ex.c"
+#line 863 "ext/standard/url_scanner_ex.c"
yy72:
++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
@@ -889,9 +889,9 @@ yy77:
goto yy66;
}
yy79:
-#line 329 "url_scanner_ex.re"
+#line 329 "ext/standard/url_scanner_ex.re"
{ handle_val(STD_ARGS, 1, '"'); goto state_next_arg_begin; }
-#line 895 "url_scanner_ex.c"
+#line 895 "ext/standard/url_scanner_ex.c"
yy80:
++YYCURSOR;
if(YYLIMIT == YYCURSOR) YYFILL(1);
@@ -905,7 +905,7 @@ yy80:
goto yy79;
}
}
-#line 333 "url_scanner_ex.re"
+#line 333 "ext/standard/url_scanner_ex.re"
stop: