tree-sitter / tree-sitter-verilog

SystemVerilog grammar for tree-sitter
MIT License
93 stars 36 forks source link

Fix support for externally defined methods #65

Open gmlarumbe opened 1 year ago

gmlarumbe commented 1 year ago

Hi,

This PR adds some changes to fix parsing errors on externally defined methods. It also adds a test that fails before merging those changes and passes afterwards.

I am not sure if this is the best way to implement it since I do not really have much knowledge about parsers or tree-sitter, but at least I hope it can be useful.

Thanks!