-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of instantiating `patternF` manually, we can actually reuse the rule `pattern_fun` within the `enum_variant_pattern`, which makes things a bit more consistent and will help on the Topiary formatting side. Passing by, we also removed the unused last parameter passed to the various xxxF macro rules - this was copied from LALRPOP but doesn't make sense currently in the tree-sitter grammar. Fortunately (or not?) additional arguments are just ignored in JavaScript, so this shouldn't change anything in practice, but is less confusing to future readers of the grammar.
- Loading branch information
Showing
6 changed files
with
12,771 additions
and
12,850 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.