Skip to content

Commit

Permalink
indentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
r001 committed Dec 10, 2023
1 parent e1f20eb commit 304611b
Show file tree
Hide file tree
Showing 4 changed files with 18,910 additions and 24,354 deletions.
3 changes: 1 addition & 2 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -888,8 +888,7 @@ module.exports = grammar({
),

if_conditional: $ => $._expression,
if_conditional_end: $ => '',
branch: $ => seq('if', $.if_conditional, $.if_conditional_end, $.block),
branch: $ => seq('if', $.if_conditional, $.block),

conditional_statement: $ => choice(
$.branch,
Expand Down
8 changes: 0 additions & 8 deletions src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -2963,10 +2963,6 @@
"type": "SYMBOL",
"name": "_expression"
},
"if_conditional_end": {
"type": "STRING",
"value": ""
},
"branch": {
"type": "SEQ",
"members": [
Expand All @@ -2978,10 +2974,6 @@
"type": "SYMBOL",
"name": "if_conditional"
},
{
"type": "SYMBOL",
"name": "if_conditional_end"
},
{
"type": "SYMBOL",
"name": "block"
Expand Down
8 changes: 0 additions & 8 deletions src/node-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -11921,10 +11921,6 @@
{
"type": "if_conditional",
"named": true
},
{
"type": "if_conditional_end",
"named": true
}
]
}
Expand Down Expand Up @@ -46231,10 +46227,6 @@
"type": "if",
"named": false
},
{
"type": "if_conditional_end",
"named": true
},
{
"type": "import",
"named": false
Expand Down
Loading

0 comments on commit 304611b

Please sign in to comment.