]> granicus.if.org Git - php/commitdiff
MFZE1
authorZeev Suraski <zeev@php.net>
Sat, 22 Sep 2001 14:03:27 +0000 (14:03 +0000)
committerZeev Suraski <zeev@php.net>
Sat, 22 Sep 2001 14:03:27 +0000 (14:03 +0000)
Zend/zend_globals.h

index d773a5805f48846eb30b48de1f3d11e5b183448f..13c663081450d16b61d004ca3fd4738908a794eb 100644 (file)
@@ -220,8 +220,6 @@ struct _zend_alloc_globals {
 #endif
 };
 
-typedef int yy_state_type;
-
 struct _zend_scanner_globals {
        FILE *yy_in;
        FILE *yy_out;
@@ -234,7 +232,9 @@ struct _zend_scanner_globals {
        char _yy_hold_char;
        int yy_n_chars;
        int _yy_did_buffer_switch_on_eof;
-       yy_state_type _yy_last_accepting_state;
+       int _yy_last_accepting_state; /* Must be of the same type as yy_state_type,
+                                                                  * if for whatever reason it's no longer int!
+                                                                  */
        char *_yy_last_accepting_cpos;
        int _yy_more_flag;
        int _yy_more_len;