Commit 663a7415 authored by romanb's avatar romanb

minor changes

parent d1cd35d3
...@@ -957,11 +957,10 @@ class Doctrine_ORM_Query_Parser ...@@ -957,11 +957,10 @@ class Doctrine_ORM_Query_Parser
} }
/** /**
* SimpleConditionalExpression ::= ExistsExpression | * SimpleConditionalExpression ::=
* (SimpleStateFieldPathExpression (ComparisonExpression | BetweenExpression | LikeExpression | * ComparisonExpression | BetweenExpression | LikeExpression |
* InExpression | NullComparisonExpression)) | * InExpression | NullComparisonExpression | ExistsExpression |
* (CollectionValuedPathExpression EmptyCollectionComparisonExpression) | * EmptyCollectionComparisonExpression | CollectionMemberExpression
* (EntityExpression CollectionMemberExpression)
*/ */
private function _SimpleConditionalExpression() private function _SimpleConditionalExpression()
{ {
......
...@@ -200,7 +200,7 @@ NamedParameter ::= ":" string ...@@ -200,7 +200,7 @@ NamedParameter ::= ":" string
*/ */
ArithmeticExpression ::= SimpleArithmeticExpression | "(" Subselect ")" ArithmeticExpression ::= SimpleArithmeticExpression | "(" Subselect ")"
SimpleArithmeticExpression ::= ArithmeticTerm {("+" | "-") ArithmeticTerm}* SimpleArithmeticExpression ::= ArithmeticTerm {("+" | "-") ArithmeticTerm}*
ArithmeticTerm ::= ArithmeticFactor {("*" |"/") ArithmeticFactor}* ArithmeticTerm ::= ArithmeticFactor {("*" | "/") ArithmeticFactor}*
ArithmeticFactor ::= [("+" | "-")] ArithmeticPrimary ArithmeticFactor ::= [("+" | "-")] ArithmeticPrimary
ArithmeticPrimary ::= StateFieldPathExpression | Literal | "(" SimpleArithmeticExpression ")" | Function | AggregateExpression ArithmeticPrimary ::= StateFieldPathExpression | Literal | "(" SimpleArithmeticExpression ")" | Function | AggregateExpression
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment