cvs: pear /PECL/phpdoc phpdoc.c
| From: | Andrei Zmievski | Date: | Tue, 18 Dec 2001 19:58:58 +0000 |
| Subject: | cvs: pear /PECL/phpdoc phpdoc.c | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1615@lists.php.net to get a copy of this message | ||
andrei Tue Dec 18 14:58:58 2001 EDT
Modified files:
/pear/PECL/phpdoc phpdoc.c
Log:
Account for changes to Zend engine.
Index: pear/PECL/phpdoc/phpdoc.c
diff -u pear/PECL/phpdoc/phpdoc.c:1.3 pear/PECL/phpdoc/phpdoc.c:1.4
--- pear/PECL/phpdoc/phpdoc.c:1.3 Mon Dec 17 16:51:14 2001
+++ pear/PECL/phpdoc/phpdoc.c Tue Dec 18 14:58:58 2001
@@ -16,22 +16,13 @@
+----------------------------------------------------------------------+
*/
-/* $Id: phpdoc.c,v 1.3 2001/12/17 21:51:14 ostborn Exp $ */
+/* $Id: phpdoc.c,v 1.4 2001/12/18 19:58:58 andrei Exp $ */
#include "php.h"
#include "php_ini.h"
#include "php_phpdoc.h"
/*
- * remove the 'static' from the following functions in ./Zend/zend_language_scanner.c
- * - restore_lexical_state
- * - save_lexical_state
- * - prepare_string_for_scanning
- */
-
-
-
-/*
** <!--
** taken from zend_language_scanner.c
** perhaps this a LICENSE CONFLICT, don't know.
@@ -656,12 +647,12 @@
convert_to_string_ex(arg);
- save_lexical_state(&original_lex_state CLS_CC);
+ zend_save_lexical_state(&original_lex_state CLS_CC);
#ifndef ZTS
- if (prepare_string_for_scanning(*arg, "dummy.php")==FAILURE) {
+ if (zend_prepare_string_for_scanning(*arg, "dummy.php")==FAILURE) {
#else
- if (prepare_string_for_scanning(*arg, &input_stream, "dummy.php" CLS_CC)==FAILURE) {
+ if (zend_prepare_string_for_scanning(*arg, &input_stream, "dummy.php"
CLS_CC)==FAILURE) {
#endif
RETURN_EMPTY_STRING();
}
@@ -671,7 +662,7 @@
MAKE_STD_ZVAL(return_value);
ZVAL_EMPTY_STRING(return_value);
#endif
- restore_lexical_state(&original_lex_state CLS_CC);
+ zend_restore_lexical_state(&original_lex_state CLS_CC);
#ifdef ZTS
delete input_stream;
#endif