TravonteD / tree-sitter-fennel

Treesitter grammar for the Fennel programming language
MIT License
42 stars 9 forks source link

Does not recognize doted names as function names #21

Closed otommod closed 3 years ago

otommod commented 3 years ago

20210710_03h08m33s_grim

Indeed the current code specifically requires the function name to be an identifier, which cannot be doted

https://github.com/TravonteD/tree-sitter-fennel/blob/bc689e2ef264e2cba499cfdcd16194e8f5fe87d2/grammar.js#L213-L214

TravonteD commented 3 years ago

Thanks for reporting this, I'll try to get to it on the weekend. In the meantime feel free to contribute a PR ;)

TravonteD commented 3 years ago

I've merged a fix for this in the latest master, re-install the parser and you should be good to go :+1:

otommod commented 3 years ago

This indeed fixes the problem. Thank you very much!