cvs: /php4/ext/standard url_scanner.c url_scanner.re

From: Date: Tue, 09 Nov 1999 13:57:42 +0000
Subject: cvs: /php4/ext/standard url_scanner.c url_scanner.re
Groups: php.version4 
Request: Send a blank email to php-version4+get-6003@lists.php.net to get a copy of this message
sas Tue Nov 9 08:57:42 1999 EDT Modified files: /php4/ext/standard url_scanner.c url_scanner.re Log: Include proper header files (replacement functions were not used). Index: php4/ext/standard/url_scanner.c diff -u php4/ext/standard/url_scanner.c:1.10 php4/ext/standard/url_scanner.c:1.11 --- php4/ext/standard/url_scanner.c:1.10 Tue Nov 2 13:35:59 1999 +++ php4/ext/standard/url_scanner.c Tue Nov 9 08:57:11 1999 @@ -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 | @@ -17,8 +17,11 @@ | Author: Sascha Schumann <sascha@schumann.cx> | +----------------------------------------------------------------------+ */ -/* $Id: url_scanner.c,v 1.10 1999/11/02 18:35:59 sas Exp $ */ +/* $Id: url_scanner.c,v 1.11 1999/11/09 13:57:11 sas Exp $ */ +#include "php.h" +#include "snprintf.h" + #include <sys/types.h> #include <stdio.h> #include <stdlib.h> @@ -122,7 +125,7 @@ ATTACH(state->start, (state->crs - state->start)); } -#line 139 +#line 142 static void url_scanner(lexdata *state) @@ -158,11 +161,11 @@ 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 @@ default: goto yy26; } yy26: -#line 150 +#line 153 { BEGIN(REF); } yy27: yych = *++YYCURSOR; switch(yych){ @@ -302,7 +305,7 @@ default: goto yy38; } yy38: -#line 148 +#line 151 { BEGIN(REF); } yy39: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); @@ -370,7 +373,7 @@ default: goto yy53; } yy53: -#line 151 +#line 154 { BEGIN(REF); } yy54: yych = *++YYCURSOR; switch(yych){ @@ -405,10 +408,10 @@ default: goto yy61; } yy61: -#line 149 +#line 152 { BEGIN(REF); } } -#line 154 +#line 157 break; case REF: @@ -429,7 +432,7 @@ default: goto yy67; } yy64: -#line 158 +#line 161 { BEGIN(INITIAL); } yy65: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); @@ -457,7 +460,7 @@ } yy69: yych = *++YYCURSOR; yy70: YYCURSOR -= 1; -#line 159 +#line 162 { BEGIN(INITIAL); } yy71: ++YYCURSOR; if(YYLIMIT == YYCURSOR) YYFILL(1); @@ -470,7 +473,7 @@ default: goto yy71; } yy73: -#line 160 +#line 163 { /* don't modify absolute links */ state->state = INITIAL; BEGIN(INITIAL); @@ -498,7 +501,7 @@ yy79: yych = *++YYCURSOR; goto yy64; } -#line 164 +#line 167 break; } Index: php4/ext/standard/url_scanner.re diff -u php4/ext/standard/url_scanner.re:1.7 php4/ext/standard/url_scanner.re:1.8 --- php4/ext/standard/url_scanner.re:1.7 Tue Nov 2 13:35:59 1999 +++ php4/ext/standard/url_scanner.re Tue Nov 9 08:57:11 1999 @@ -15,7 +15,10 @@ | Author: Sascha Schumann <sascha@schumann.cx> | +----------------------------------------------------------------------+ */ -/* $Id: url_scanner.re,v 1.7 1999/11/02 18:35:59 sas Exp $ */ +/* $Id: url_scanner.re,v 1.8 1999/11/09 13:57:11 sas Exp $ */ + +#include "php.h" +#include "snprintf.h" #include <sys/types.h> #include <stdio.h>

« previous php.version4 (#6003) next »