Skip to content

Commit

Permalink
Merge pull request #7 from chrhansk/feature-quoted-typed-parameters
Browse files Browse the repository at this point in the history
Add support for quoted typed parameters
  • Loading branch information
b0o authored Nov 22, 2024
2 parents 439b8f2 + e026d04 commit 9a65e15
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 9a65e15

Please sign in to comment.