Add 'type' field to new-style module

I'd forgotten it...
This commit is contained in:
Bruno BELANYI 2024-04-08 21:25:44 +01:00
parent 6677ef2856
commit 2cbac5115b
4 changed files with 137 additions and 158 deletions

View file

@ -51,7 +51,7 @@ module.exports = grammar({
),
_new_module: ($) => seq(
$.identifier,
field("type", $.identifier),
"(",
optional(commaSeparated(
alias(field("property", $._equal_property), $.property)