Use 'type_identifier' in array type declaration
This commit is contained in:
parent
0827093fe7
commit
5d37bf7bd1
5 changed files with 8 additions and 5 deletions
|
|
@ -285,7 +285,7 @@ module.exports = grammar({
|
|||
array_type: ($) => seq(
|
||||
"array",
|
||||
"of",
|
||||
field("element_type", $.identifier),
|
||||
field("element_type", $._type_identifier),
|
||||
),
|
||||
|
||||
function_declaration: ($) => seq(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue