Delineate expressions in grammar

This commit is contained in:
Bruno BELANYI 2022-06-01 20:35:22 +02:00
parent d32fd4fd6c
commit 68aac9a0ae

View file

@ -30,6 +30,8 @@ module.exports = grammar({
$._expr, $._expr,
), ),
// Expressions {{{
_expr: ($) => choice( _expr: ($) => choice(
$.nil_literal, $.nil_literal,
$.integer_literal, $.integer_literal,
@ -207,6 +209,8 @@ module.exports = grammar({
), ),
break_expression: (_) => "break", break_expression: (_) => "break",
// }}}
} }
}); });