diff options
author | Xinchen Hui <laruence@gmail.com> | 2016-06-13 09:33:19 -0700 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2016-06-13 09:33:19 -0700 |
commit | aeb3948f3ce360f8ff77ba84a9ddef5dda522c5d (patch) | |
tree | 68101d70eb18b2db11b4b23c390be27f1ecfcfaf /Zend/zend_language_parser.y | |
parent | f2fd4691521713b35a37762d4d53f5b7b9a76e47 (diff) | |
download | php-git-aeb3948f3ce360f8ff77ba84a9ddef5dda522c5d.tar.gz |
Cleanup
Diffstat (limited to 'Zend/zend_language_parser.y')
-rw-r--r-- | Zend/zend_language_parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_language_parser.y b/Zend/zend_language_parser.y index c37bd7f20c..3d38a4c853 100644 --- a/Zend/zend_language_parser.y +++ b/Zend/zend_language_parser.y @@ -1183,7 +1183,7 @@ property_name: ; array_pair_list: - non_empty_array_pair_list { /* allow single trailing comma */ zend_ast_list *list = zend_ast_get_list($$ = $1); if (list->child[list->children - 1] == NULL) { list->children--; } } + non_empty_array_pair_list { /* allow single trailing comma */ zend_ast_list_rtrim($$ = $1); } ; possible_array_pair: |