]> granicus.if.org Git - php/commitdiff
Include proper header files (replacement functions were not used).
authorSascha Schumann <sas@php.net>
Tue, 9 Nov 1999 13:57:11 +0000 (13:57 +0000)
committerSascha Schumann <sas@php.net>
Tue, 9 Nov 1999 13:57:11 +0000 (13:57 +0000)
ext/standard/url_scanner.c
ext/standard/url_scanner.re

index 0dbaf3113aa122abacfb9d81680db85686ca5418..cff296f9757994568fc6c274b1f91b51a1cc15c3 100644 (file)
@@ -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;
        }
index e8ad981de666a2d730f8cf681019f59872b6e78e..49027ccc471088fef8e16905a1320bb38ee04808 100644 (file)
@@ -17,6 +17,9 @@
  */
 /* $Id$ */
 
+#include "php.h"
+#include "snprintf.h"
+
 #include <sys/types.h>
 #include <stdio.h>
 #include <stdlib.h>