mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
- Arghh... Change #ifdef to #ifndef
This commit is contained in:
parent
a0ed2ef379
commit
1f42a2b88f
1 changed files with 2 additions and 2 deletions
|
@ -235,7 +235,7 @@ PHP_MINIT_FUNCTION(tokenizer)
|
|||
REGISTER_LONG_CONSTANT("T_DEFAULT", T_DEFAULT, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_BREAK", T_BREAK, CONST_CS | CONST_PERSISTENT);
|
||||
REGISTER_LONG_CONSTANT("T_CONTINUE", T_CONTINUE, CONST_CS | CONST_PERSISTENT);
|
||||
#ifdef ZEND_ENGINE_2
|
||||
#ifndef ZEND_ENGINE_2
|
||||
REGISTER_LONG_CONSTANT("T_OLD_FUNCTION", T_OLD_FUNCTION, CONST_CS | CONST_PERSISTENT);
|
||||
#endif
|
||||
REGISTER_LONG_CONSTANT("T_FUNCTION", T_FUNCTION, CONST_CS | CONST_PERSISTENT);
|
||||
|
@ -433,7 +433,7 @@ get_token_type_name(int token_type)
|
|||
case T_DEFAULT: return "T_DEFAULT";
|
||||
case T_BREAK: return "T_BREAK";
|
||||
case T_CONTINUE: return "T_CONTINUE";
|
||||
#ifdef ZEND_ENGINE_2
|
||||
#ifndef ZEND_ENGINE_2
|
||||
case T_OLD_FUNCTION: return "T_OLD_FUNCTION";
|
||||
#endif
|
||||
case T_FUNCTION: return "T_FUNCTION";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue