Skip to content

Commit

Permalink
Merge pull request #206 from greenlion/revert-205-master
Browse files Browse the repository at this point in the history
Revert "fix for MULTIPLE_PARAM_PARENTHESIS sub tree expressions"
  • Loading branch information
greenlion committed Jul 8, 2016
2 parents 36dbd51 + e165660 commit 1c6064d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/PHPSQLParser/processors/ColumnDefinitionProcessor.php
Expand Up @@ -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;
Expand Down

0 comments on commit 1c6064d

Please sign in to comment.