com php-src: Drop ??? for AST_ZNODE in ast pr etty printer: Zend/zend_ast.c
| From: | Nikita Popov | Date: | Tue, 14 Apr 2015 19:35:38 +0000 |
| Subject: | com php-src: Drop ??? for AST_ZNODE in ast pr etty printer: Zend/zend_ast.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86247@lists.php.net to get a copy of this message | ||
Commit: 38eb3cdf674b360d8984772a008f9217a02e010c
Author: Nikita Popov <nikic@php.net> Tue, 14 Apr 2015 21:35:38 +0200
Parents: 6c39ce2bf24f77b16aa875c73e63c2a307e15b3e
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=38eb3cdf674b360d8984772a008f9217a02e010c
Log:
Drop ??? for AST_ZNODE in ast pretty printer
Changed paths:
M Zend/zend_ast.c
Diff:
diff --git a/Zend/zend_ast.c b/Zend/zend_ast.c
index ef6da97..4eaad31 100644
--- a/Zend/zend_ast.c
+++ b/Zend/zend_ast.c
@@ -968,7 +968,10 @@ tail_call:
case ZEND_AST_ZVAL:
zend_ast_export_zval(str, zend_ast_get_zval(ast), priority, indent);
break;
-//??? case ZEND_AST_ZNODE:
+ case ZEND_AST_ZNODE:
+ /* This AST kind is only used for temporary nodes during compilation */
+ ZEND_ASSERT(0);
+ break;
/* declaration nodes */
case ZEND_AST_FUNC_DECL: