Localize a couple of macros

This commit is contained in:
Zeev Suraski 1999-12-06 15:31:06 +00:00
parent 5df43c134f
commit 00c3ac908b
3 changed files with 6 additions and 3 deletions

View File

@ -27,6 +27,12 @@
*
*/
#define YYERROR_VERBOSE
#define YYSTYPE znode
#ifdef ZTS
#define YYPARSE_PARAM compiler_globals
#endif
#include "zend_compile.h"
#include "zend.h"
#include "zend_list.h"
@ -36,7 +42,6 @@
#include "zend_operators.h"
#define YYERROR_VERBOSE
%}

View File

@ -28,7 +28,6 @@
#endif
#include "zend_llist.h"
#define YYSTYPE znode
#include "zend-parser.h"
#define DEBUG_ZEND 0

View File

@ -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 YYPARSE_PARAM compiler_globals
# define YYLEX_PARAM compiler_globals
BEGIN_EXTERN_C()
int zendparse(void *compiler_globals);