diff options
author | Sascha Schumann <sas@php.net> | 1999-11-09 13:57:11 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-11-09 13:57:11 +0000 |
commit | 0c2e3e4e7d92fd5d4d0a7203c9994932e30c490d (patch) | |
tree | 913c5727d262caaf47d4cc07a7d4e9bdc59ed0a6 | |
parent | a14d96ef727e302bb29e66cd7e79215adb286e76 (diff) | |
download | php-git-0c2e3e4e7d92fd5d4d0a7203c9994932e30c490d.tar.gz |
Include proper header files (replacement functions were not used).
-rw-r--r-- | ext/standard/url_scanner.c | 31 | ||||
-rw-r--r-- | ext/standard/url_scanner.re | 3 |
2 files changed, 20 insertions, 14 deletions
diff --git a/ext/standard/url_scanner.c b/ext/standard/url_scanner.c index 0dbaf3113a..cff296f975 100644 --- a/ext/standard/url_scanner.c +++ b/ext/standard/url_scanner.c @@ -1,5 +1,5 @@ -/* Generated by re2c 0.5 on Tue Nov 2 19:35:36 1999 */ -#line 1 "url_scanner.re" +/* Generated by re2c 0.5 on Tue Nov 9 14:56:27 1999 */ +#line 1 "../../../php4/ext/standard/url_scanner.re" /* +----------------------------------------------------------------------+ | PHP version 4.0 | @@ -19,6 +19,9 @@ */ /* $Id$ */ +#include "php.h" +#include "snprintf.h" + #include <sys/types.h> #include <stdio.h> #include <stdlib.h> @@ -122,7 +125,7 @@ static void catchup(lexdata *state) ATTACH(state->start, (state->crs - state->start)); } -#line 139 +#line 142 static void url_scanner(lexdata *state) @@ -158,11 +161,11 @@ yy5: switch(yych){ default: goto yy4; } yy6: -#line 152 +#line 155 { BEGIN(INITIAL); } yy7: yych = *++YYCURSOR; yy8: -#line 153 +#line 156 { FINISH; } yy9: yych = *++YYCURSOR; switch(yych){ @@ -248,7 +251,7 @@ yy25: switch(yych){ default: goto yy26; } yy26: -#line 150 +#line 153 { BEGIN(REF); } yy27: yych = *++YYCURSOR; switch(yych){ @@ -302,7 +305,7 @@ yy37: switch(yych){ default: goto yy38; } yy38: -#line 148 +#line 151 { BEGIN(REF); } yy39: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); @@ -370,7 +373,7 @@ yy52: switch(yych){ default: goto yy53; } yy53: -#line 151 +#line 154 { BEGIN(REF); } yy54: yych = *++YYCURSOR; switch(yych){ @@ -405,10 +408,10 @@ yy60: switch(yych){ default: goto yy61; } yy61: -#line 149 +#line 152 { BEGIN(REF); } } -#line 154 +#line 157 break; case REF: @@ -429,7 +432,7 @@ yy62: default: goto yy67; } yy64: -#line 158 +#line 161 { BEGIN(INITIAL); } yy65: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); @@ -457,7 +460,7 @@ yy68: switch(yych){ } yy69: yych = *++YYCURSOR; yy70: YYCURSOR -= 1; -#line 159 +#line 162 { BEGIN(INITIAL); } yy71: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); @@ -470,7 +473,7 @@ yy72: switch(yych){ default: goto yy71; } yy73: -#line 160 +#line 163 { /* don't modify absolute links */ state->state = INITIAL; BEGIN(INITIAL); @@ -498,7 +501,7 @@ yy78: switch(yych){ yy79: yych = *++YYCURSOR; goto yy64; } -#line 164 +#line 167 break; } diff --git a/ext/standard/url_scanner.re b/ext/standard/url_scanner.re index e8ad981de6..49027ccc47 100644 --- a/ext/standard/url_scanner.re +++ b/ext/standard/url_scanner.re @@ -17,6 +17,9 @@ */ /* $Id$ */ +#include "php.h" +#include "snprintf.h" + #include <sys/types.h> #include <stdio.h> #include <stdlib.h> |