Reuse _conditional_expression

This commit is contained in:
Piotr Trojanek 2024-01-03 15:43:28 +01:00 committed by Emmanuel Briot
parent 07019a9929
commit 5a2bff7cea
3 changed files with 4154 additions and 4158 deletions

View File

@ -662,8 +662,7 @@ module.exports = grammar({
$.case_expression,
),
_conditional_quantified_declare_expression: $ => choice(
$.if_expression,
$.case_expression,
$._conditional_expression,
$.quantified_expression,
$.declare_expression,
),

View File

@ -3336,11 +3336,7 @@
"members": [
{
"type": "SYMBOL",
"name": "if_expression"
},
{
"type": "SYMBOL",
"name": "case_expression"
"name": "_conditional_expression"
},
{
"type": "SYMBOL",

File diff suppressed because it is too large Load Diff