summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2015-06-20 13:10:51 +0200
committerNikita Popov <nikic@php.net>2015-06-20 13:10:51 +0200
commita684e6adb284a09d01f97cfabe140e1ce36324a5 (patch)
treee4f804e2bf67a063806306c4b3ef85fd73018759
parentf801eb9d6b6ea3ca72e762b1d623a34146159fcf (diff)
downloadphp-git-a684e6adb284a09d01f97cfabe140e1ce36324a5.tar.gz
Drop unnecessary %prec
Leftover from a previous implementation
-rw-r--r--Zend/zend_language_parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_language_parser.y b/Zend/zend_language_parser.y
index 9612324eac..5dd700158d 100644
--- a/Zend/zend_language_parser.y
+++ b/Zend/zend_language_parser.y
@@ -732,7 +732,7 @@ trait_alias:
{ zval zv; zend_lex_tstring(&zv); $$ = zend_ast_create_ex(ZEND_AST_TRAIT_ALIAS, 0, $1, zend_ast_create_zval(&zv)); }
| trait_method_reference T_AS member_modifier identifier
{ $$ = zend_ast_create_ex(ZEND_AST_TRAIT_ALIAS, $3, $1, $4); }
- | trait_method_reference T_AS member_modifier %prec '+'
+ | trait_method_reference T_AS member_modifier
{ $$ = zend_ast_create_ex(ZEND_AST_TRAIT_ALIAS, $3, $1, NULL); }
;