Use 'type_identifier' in array type declaration

This commit is contained in:
Bruno BELANYI 2022-06-03 10:35:53 +02:00
parent 0827093fe7
commit 5d37bf7bd1
5 changed files with 8 additions and 5 deletions

View file

@ -285,7 +285,7 @@ module.exports = grammar({
array_type: ($) => seq(
"array",
"of",
field("element_type", $.identifier),
field("element_type", $._type_identifier),
),
function_declaration: ($) => seq(