Skip to content

Commit 96ea2ca

Browse files
committed
fix: if should not have label
1 parent f25d555 commit 96ea2ca

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

grammar.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ module.exports = grammar({
214214

215215
if_expr: $ => $._if_expr,
216216
_if_expr: $ => seq(
217-
field('label', optional($._stmt_label)),
218217
'if',
219218
field('cond', $._expr),
220219
field('tru', $.block),

0 commit comments

Comments
 (0)