cvs: pecl /parsekit php_parsekit.h
| From: | Sara Golemon | Date: | Sun, 31 Oct 2004 21:55:43 +0000 |
| Subject: | cvs: pecl /parsekit php_parsekit.h | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-1991@lists.php.net to get a copy of this message | ||
pollita Sun Oct 31 16:55:43 2004 EDT
Modified files:
/pecl/parsekit php_parsekit.h
Log:
Wrap the ZEND_IMPORT_* constants in #ifdefs, they go bye-bye in 5.1
http://cvs.php.net/diff.php/pecl/parsekit/php_parsekit.h?r1=1.6&r2=1.7&ty=u
Index: pecl/parsekit/php_parsekit.h
diff -u pecl/parsekit/php_parsekit.h:1.6 pecl/parsekit/php_parsekit.h:1.7
--- pecl/parsekit/php_parsekit.h:1.6 Thu Aug 26 22:50:29 2004
+++ pecl/parsekit/php_parsekit.h Sun Oct 31 16:55:38 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_parsekit.h,v 1.6 2004/08/27 02:50:29 pollita Exp $ */
+/* $Id: php_parsekit.h,v 1.7 2004/10/31 21:55:38 pollita Exp $ */
#ifndef PHP_PARSEKIT_H
#define PHP_PARSEKIT_H
@@ -285,9 +285,15 @@
{ ZEND_INIT_STATIC_METHOD_CALL, "ZEND_INIT_STATIC_METHOD_CALL", PHP_PARSEKIT_OP1_VAR |
PHP_PARSEKIT_OP2_GETVAR },
{ ZEND_ISSET_ISEMPTY_VAR, "ZEND_ISSET_ISEMPTY_VAR", PHP_PARSEKIT_RESULT_VAR |
PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_VAR | PHP_PARSEKIT_OP2_EA_TYPE },
{ ZEND_ISSET_ISEMPTY_DIM_OBJ, "ZEND_ISSET_ISEMPTY_DIM_OBJ", PHP_PARSEKIT_RESULT_VAR |
PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR | PHP_PARSEKIT_EXTENDED_VALUE },
+#ifdef ZEND_IMPORT_FUNCTION
{ ZEND_IMPORT_FUNCTION, "ZEND_IMPORT_FUNCTION", PHP_PARSEKIT_USAGE_UNKNOWN },
+#endif
+#ifdef ZEND_IMPORT_CLASS
{ ZEND_IMPORT_CLASS, "ZEND_IMPORT_CLASS", PHP_PARSEKIT_USAGE_UNKNOWN },
+#endif
+#ifdef ZEND_IMPORT_CONST
{ ZEND_IMPORT_CONST, "ZEND_IMPORT_CONST", PHP_PARSEKIT_USAGE_UNKNOWN },
+#endif
{ ZEND_PRE_INC_OBJ, "ZEND_PRE_INC_OBJ", PHP_PARSEKIT_RESULT_VAR |
PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR },
{ ZEND_PRE_DEC_OBJ, "ZEND_PRE_DEC_OBJ", PHP_PARSEKIT_RESULT_VAR |
PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR },
{ ZEND_POST_INC_OBJ, "ZEND_POST_INC_OBJ", PHP_PARSEKIT_RESULT_VAR |
PHP_PARSEKIT_OP1_GETVAR | PHP_PARSEKIT_OP2_GETVAR },