diff options
author | Zeev Suraski <zeev@php.net> | 1999-12-06 19:03:57 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-12-06 19:03:57 +0000 |
commit | 291066c45940fe5b16160c2a1019de308fe7e15c (patch) | |
tree | 740025c0c93f68036b6743707c546b943dba9b3d /Zend | |
parent | beb97236172ad65fc878f58a30356024a574e24c (diff) | |
download | php-git-291066c45940fe5b16160c2a1019de308fe7e15c.tar.gz |
More localization
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend-parser.y | 3 | ||||
-rw-r--r-- | Zend/zend_globals_macros.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend-parser.y b/Zend/zend-parser.y index 56f855ebb2..c58c4733ae 100644 --- a/Zend/zend-parser.y +++ b/Zend/zend-parser.y @@ -30,7 +30,8 @@ #define YYERROR_VERBOSE #define YYSTYPE znode #ifdef ZTS -#define YYPARSE_PARAM compiler_globals +# define YYPARSE_PARAM compiler_globals +# define YYLEX_PARAM compiler_globals #endif #include "zend_compile.h" diff --git a/Zend/zend_globals_macros.h b/Zend/zend_globals_macros.h index df739fd62b..75be8f27e2 100644 --- a/Zend/zend_globals_macros.h +++ b/Zend/zend_globals_macros.h @@ -33,7 +33,6 @@ typedef struct _zend_alloc_globals zend_alloc_globals; # define CLS_CC , CLS_C # define CG(v) (((zend_compiler_globals *) compiler_globals)->v) # define CLS_FETCH() zend_compiler_globals *compiler_globals = (zend_compiler_globals *) ts_resource(compiler_globals_id) -# define YYLEX_PARAM compiler_globals BEGIN_EXTERN_C() int zendparse(void *compiler_globals); END_EXTERN_C() |