fix binary operators

This commit is contained in:
mhoffm
2021-06-19 18:10:47 +02:00
parent 6cc5e7b721
commit d61fefced0
7 changed files with 8772 additions and 8265 deletions

View File

@@ -53,3 +53,31 @@ foo = 1+2
(numeric_lit))
(literal_value
(numeric_lit))))))))
================================================================================
precedence in binary operators
================================================================================
foo = a != b && c == d
--------------------------------------------------------------------------------
(config_file
(body
(attribute
(identifier)
(expression
(operation
(binary_operation
(operation
(binary_operation
(variable_expr
(identifier))
(variable_expr
(identifier))))
(operation
(binary_operation
(variable_expr
(identifier))
(variable_expr
(identifier))))))))))