Add boolean-typed select values

This commit is contained in:
Bruno BELANYI 2024-04-23 15:00:13 +00:00
parent f6bc0f887a
commit afdfbff7bc
5 changed files with 1237 additions and 1155 deletions

View file

@ -143,6 +143,7 @@ module.exports = grammar({
select_case: ($) => seq(
field("pattern", choice(
$._string_literal,
$.boolean_literal,
alias("default", $.default),
)),
":",