com php-src: fix ast pretty printer: Zend/zend_ast.c

From: Date: Mon, 07 Mar 2016 09:22:49 +0000
Subject: com php-src: fix ast pretty printer: Zend/zend_ast.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95623@lists.php.net to get a copy of this message
Commit: 95eed91aeab7637d524d8ee2bc5f44ca3dded3ea Author: Joe Watkins <krakjoe@php.net> Mon, 7 Mar 2016 09:22:49 +0000 Parents: 3f56cd9f59532c77feb87c5446d58493ad71f499 Branches: typed_ref_properties Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=95eed91aeab7637d524d8ee2bc5f44ca3dded3ea Log: fix ast pretty printer Changed paths: M Zend/zend_ast.c Diff: diff --git a/Zend/zend_ast.c b/Zend/zend_ast.c index 6540f82..92a1ba2 100644 --- a/Zend/zend_ast.c +++ b/Zend/zend_ast.c @@ -1439,6 +1439,8 @@ simple_list: case ZEND_AST_PROP_ELEM: smart_str_appendc(str, '$'); /* break missing intentionally */ + zend_ast_export_name(str, ast->child[1], 0, indent); + APPEND_DEFAULT_VALUE(2); case ZEND_AST_CONST_ELEM: zend_ast_export_name(str, ast->child[0], 0, indent); APPEND_DEFAULT_VALUE(1);

« previous php.cvs (#95623) next »