From 43f9c37c7f6acb28d8bc93321d4d9b6a2e46a289 Mon Sep 17 00:00:00 2001 From: nikic Date: Sun, 16 Oct 2011 14:44:39 +0200 Subject: [PATCH] Add operator precedence for list() assignments --- lib/PHPParser/PrettyPrinterAbstract.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/PHPParser/PrettyPrinterAbstract.php b/lib/PHPParser/PrettyPrinterAbstract.php index 8183fe60..2a7f9f88 100644 --- a/lib/PHPParser/PrettyPrinterAbstract.php +++ b/lib/PHPParser/PrettyPrinterAbstract.php @@ -54,6 +54,7 @@ abstract class PHPParser_PrettyPrinterAbstract 'Expr_AssignBitwiseXor' => 15, 'Expr_AssignShiftLeft' => 15, 'Expr_AssignShiftRight' => 15, + 'Expr_List' => 15, 'Expr_LogicalAnd' => 16, 'Expr_LogicalXor' => 17, 'Expr_LogicalOr' => 18,