tree-sitter / tree-sitter-go

Go grammar for tree-sitter
MIT License
310 stars 65 forks source link

Fix node naming in {param,field}_declaration #65

Closed adonovan closed 2 years ago

adonovan commented 2 years ago

This change commutes the field(...) and commaSep(...) operations so that the commas don't get named. The set of accepted inputs has not changed.

Fixes https://github.com/tree-sitter/tree-sitter-go/issues/45

Checklist:

maxbrunsfeld commented 2 years ago

Can you update the generated parser by running tree-sitter generate? We currently check the generated code into these repositories.

adonovan commented 2 years ago

Can you update the generated parser by running tree-sitter generate? We currently check the generated code into these repositories.

Done. Is there a document that explains the usual contributing process to which I can link the README?

aryx commented 2 years ago

This need to be rebased from the latest. Sorry for accepting this a bit later than your other PRs.