This commit is contained in:
mhoffm
2021-06-08 01:28:18 +02:00
parent dae5dc8248
commit 17de5b425a
5 changed files with 29 additions and 17 deletions

View File

@@ -27,13 +27,13 @@ module.exports = grammar({
)),
attribute: $ => seq(
$.identifier,
field('name', $.identifier),
'=',
$.expression
),
block: $ => seq(
field('type', $.identifier),
field('name', $.identifier),
repeat(choice($.string_lit, $.identifier)),
'{',
optional($.body),