Skip to content

Commit 291066c

Browse files
committed
More localization
1 parent beb9723 commit 291066c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/zend-parser.y

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
#define YYERROR_VERBOSE
3131
#define YYSTYPE znode
3232
#ifdef ZTS
33-
#define YYPARSE_PARAM compiler_globals
33+
# define YYPARSE_PARAM compiler_globals
34+
# define YYLEX_PARAM compiler_globals
3435
#endif
3536

3637
#include "zend_compile.h"

Zend/zend_globals_macros.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ typedef struct _zend_alloc_globals zend_alloc_globals;
3333
# define CLS_CC , CLS_C
3434
# define CG(v) (((zend_compiler_globals *) compiler_globals)->v)
3535
# define CLS_FETCH() zend_compiler_globals *compiler_globals = (zend_compiler_globals *) ts_resource(compiler_globals_id)
36-
# define YYLEX_PARAM compiler_globals
3736
BEGIN_EXTERN_C()
3837
int zendparse(void *compiler_globals);
3938
END_EXTERN_C()

0 commit comments

Comments
 (0)