Binary Operators (and Grouping in Expressions)
Add support for <, <=, >, >=, && and ||. Also, add support for grouping (with ( and )) in expressions. Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -60,14 +60,18 @@ parser simple() {
|
||||
(selectExpression
|
||||
(select)
|
||||
(expression
|
||||
(identifier)
|
||||
(simple_expression
|
||||
(identifier)
|
||||
)
|
||||
)
|
||||
(selectBody
|
||||
(selectCase
|
||||
(keysetExpression
|
||||
(expression
|
||||
(booleanLiteralExpression
|
||||
(true)
|
||||
(simple_expression
|
||||
(booleanLiteralExpression
|
||||
(true)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user