Skip to content

Commit

Permalink
[tree_sitter_v] fix qualified type (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lycs-D authored Jan 11, 2024
1 parent 1814be2 commit 62d925e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion tree_sitter_v/grammar.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ module.exports = grammar({
seq(field("left", $._expression), "!in", field("right", $._expression)),
),

enum_fetch: ($) => seq(".", $.reference_expression),
enum_fetch: ($) => prec.dynamic(-1, seq(".", $.reference_expression)),

match_expression: ($) =>
seq(
Expand Down
26 changes: 15 additions & 11 deletions tree_sitter_v/src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tree_sitter_v/src/parser.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 62d925e

Please sign in to comment.