summaryrefslogtreecommitdiff
path: root/ext/tokenizer
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-11-05 19:02:37 +0000
committerAndi Gutmans <andi@php.net>2002-11-05 19:02:37 +0000
commit1f42a2b88f924e07413fc7209e267cc740cfa2ba (patch)
tree4f8061bf210f6f8ed40cfe3d1b319cb752c6b77f /ext/tokenizer
parenta0ed2ef379260e48e1fa79f50b628d0b535a89c0 (diff)
downloadphp-git-1f42a2b88f924e07413fc7209e267cc740cfa2ba.tar.gz
- Arghh... Change #ifdef to #ifndef
Diffstat (limited to 'ext/tokenizer')
-rw-r--r--ext/tokenizer/tokenizer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tokenizer/tokenizer.c b/ext/tokenizer/tokenizer.c
index 8cdaf182d9..c15e3a26a2 100644
--- a/ext/tokenizer/tokenizer.c
+++ b/ext/tokenizer/tokenizer.c
@@ -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";