Closed savq closed 1 year ago
assignment_expression
assignment
compound_assignment_expression
bare_tuple_expression
bare_tuple
Following Max's advise in https://github.com/tree-sitter/tree-sitter-julia/pull/6#issuecomment-663905837, I added an exception to parse :local as a quote expression. Note that currrently this is only a problem in an expression like
:local
if x == :local end
because this will be parsed as:
(if (== x :) (local end))
assignment_expression
intoassignment
andcompound_assignment_expression
rules.assignment
allowing arbitrary expressions in the LHS.bare_tuple_expression
tobare_tuple
.Following Max's advise in https://github.com/tree-sitter/tree-sitter-julia/pull/6#issuecomment-663905837, I added an exception to parse
:local
as a quote expression. Note that currrently this is only a problem in an expression likebecause this will be parsed as: