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
|
|
@ -1234,7 +1234,7 @@
|
|||
"name": "element_type",
|
||||
"content": {
|
||||
"type": "SYMBOL",
|
||||
"name": "identifier"
|
||||
"name": "_type_identifier"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@
|
|||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "identifier",
|
||||
"type": "type_identifier",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -895,6 +895,9 @@ static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE
|
|||
[0] = alias_sym_type_identifier,
|
||||
[2] = alias_sym_field_identifier,
|
||||
},
|
||||
[28] = {
|
||||
[2] = alias_sym_type_identifier,
|
||||
},
|
||||
[32] = {
|
||||
[3] = alias_sym_type_identifier,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue