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 d4d88a6f01
commit 3e4879a593
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)