Skip to content

Commit

Permalink
Add support for quoted typed parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
chrhansk committed Nov 22, 2024
1 parent 439b8f2 commit e026d04
Show file tree
Hide file tree
Showing 5 changed files with 49,527 additions and 49,397 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ module.exports = grammar(Python, {
$.dictionary_splat_pattern,
),
":",
field("type", $.c_type),
field("type", choice($.c_type, $.string)),
),
),
),
Expand Down
13 changes: 11 additions & 2 deletions src/grammar.json

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

4 changes: 4 additions & 0 deletions src/node-types.json

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

Loading

0 comments on commit e026d04

Please sign in to comment.