Skip to content

Commit 7ceefb5

Browse files
committed
Python: Regenerate parser files
1 parent 8053e0e commit 7ceefb5

File tree

3 files changed

+29230
-29150
lines changed

3 files changed

+29230
-29150
lines changed

python/extractor/tsg-python/tsp/src/grammar.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5289,8 +5289,17 @@
52895289
}
52905290
},
52915291
"type": {
5292-
"type": "SYMBOL",
5293-
"name": "expression"
5292+
"type": "CHOICE",
5293+
"members": [
5294+
{
5295+
"type": "SYMBOL",
5296+
"name": "list_splat"
5297+
},
5298+
{
5299+
"type": "SYMBOL",
5300+
"name": "expression"
5301+
}
5302+
]
52945303
},
52955304
"keyword_argument": {
52965305
"type": "SEQ",

python/extractor/tsg-python/tsp/src/node-types.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3347,6 +3347,10 @@
33473347
{
33483348
"type": "expression",
33493349
"named": true
3350+
},
3351+
{
3352+
"type": "list_splat",
3353+
"named": true
33503354
}
33513355
]
33523356
}

0 commit comments

Comments
 (0)