Skip to content

Commit bb08b6f

Browse files
authored
add parsing support for use ::* syntax (#261)
* parse use ::* (import glob crate) * chore: tree-sitter generate
1 parent 5edb201 commit bb08b6f

File tree

4 files changed

+48123
-48093
lines changed

4 files changed

+48123
-48093
lines changed

grammar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ module.exports = grammar({
653653
),
654654

655655
use_wildcard: $ => seq(
656-
optional(seq($._path, '::')),
656+
optional(seq(optional($._path), '::')),
657657
'*',
658658
),
659659

src/grammar.json

+10-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)