tree-sitter / tree-sitter-julia

Julia grammar for Tree-sitter
MIT License
93 stars 32 forks source link

Update declarations and assignments #78

Closed savq closed 1 year ago

savq commented 1 year ago

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

if x == :local
end

because this will be parsed as:

(if (== x :) (local end))