From e165660f559d973123be965902d74ca3e00a1d05 Mon Sep 17 00:00:00 2001 From: Justin Swanhart Date: Fri, 8 Jul 2016 14:21:21 -0400 Subject: [PATCH] Revert "fix for MULTIPLE_PARAM_PARENTHESIS sub tree expressions" --- .../processors/ColumnDefinitionProcessor.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/PHPSQLParser/processors/ColumnDefinitionProcessor.php b/src/PHPSQLParser/processors/ColumnDefinitionProcessor.php index 1fd3f9ae..1ab91574 100644 --- a/src/PHPSQLParser/processors/ColumnDefinitionProcessor.php +++ b/src/PHPSQLParser/processors/ColumnDefinitionProcessor.php @@ -394,13 +394,8 @@ public function process($tokens) { $parsed = $this->processExpressionList($trim); $last = array_pop($expr); - $last['sub_tree'] = array( - array( - 'expr_type' => ExpressionType::BRACKET_EXPRESSION, - 'base_expr' => $trim, - 'sub_tree' => $parsed - ) - ); + $last['sub_tree'] = array('expr_type' => ExpressionType::BRACKET_EXPRESSION, 'base_expr' => $trim, + 'sub_tree' => $parsed); $expr[] = $last; $currCategory = $prevCategory; break;