Skip to content

Commit 1c6064d

Browse files
authored
Merge pull request #206 from greenlion/revert-205-master
Revert "fix for MULTIPLE_PARAM_PARENTHESIS sub tree expressions"
2 parents 36dbd51 + e165660 commit 1c6064d

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

src/PHPSQLParser/processors/ColumnDefinitionProcessor.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -394,13 +394,8 @@ public function process($tokens) {
394394
$parsed = $this->processExpressionList($trim);
395395

396396
$last = array_pop($expr);
397-
$last['sub_tree'] = array(
398-
array(
399-
'expr_type' => ExpressionType::BRACKET_EXPRESSION,
400-
'base_expr' => $trim,
401-
'sub_tree' => $parsed
402-
)
403-
);
397+
$last['sub_tree'] = array('expr_type' => ExpressionType::BRACKET_EXPRESSION, 'base_expr' => $trim,
398+
'sub_tree' => $parsed);
404399
$expr[] = $last;
405400
$currCategory = $prevCategory;
406401
break;

0 commit comments

Comments
 (0)