1
0
mirror of synced 2024-12-13 06:46:03 +03:00

[2.0] Small optimization.

This commit is contained in:
romanb 2009-08-16 17:42:04 +00:00
parent 32069cc2b5
commit d8c8078302

View File

@ -1719,9 +1719,8 @@ class Parser
$condPrimary->simpleConditionalExpression = $this->SimpleConditionalExpression(); $condPrimary->simpleConditionalExpression = $this->SimpleConditionalExpression();
} else { } else {
$this->match('('); $this->match('(');
$conditionalExpression = $this->ConditionalExpression(); $condPrimary->conditionalExpression = $this->ConditionalExpression();
$this->match(')'); $this->match(')');
$condPrimary->conditionalExpression = $conditionalExpression;
} }
} else { } else {
$condPrimary->simpleConditionalExpression = $this->SimpleConditionalExpression(); $condPrimary->simpleConditionalExpression = $this->SimpleConditionalExpression();