Skip to content

Commit bb2fd6a

Browse files
committed
Add asynchronous attribute
1 parent e67a15f commit bb2fd6a

File tree

4 files changed

+89877
-85382
lines changed

4 files changed

+89877
-85382
lines changed

grammar.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,7 @@ module.exports = grammar({
969969
_standalone_type_qualifier: $ => choice(
970970
caseInsensitive('abstract'),
971971
caseInsensitive('allocatable'),
972+
caseInsensitive('asynchronous'),
972973
caseInsensitive('automatic'),
973974
prec.right(seq(
974975
caseInsensitive('codimension'),
@@ -2239,6 +2240,7 @@ module.exports = grammar({
22392240
identifier: $ => choice(
22402241
/[a-zA-Z_$][\w$]*/,
22412242
caseInsensitive('allocatable'),
2243+
caseInsensitive('asynchronous'),
22422244
caseInsensitive('automatic'),
22432245
caseInsensitive('block'),
22442246
caseInsensitive('byte'),

src/grammar.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12247,6 +12247,15 @@
1224712247
"named": false,
1224812248
"value": "allocatable"
1224912249
},
12250+
{
12251+
"type": "ALIAS",
12252+
"content": {
12253+
"type": "PATTERN",
12254+
"value": "[aA][sS][yY][nN][cC][hH][rR][oO][nN][oO][uU][sS]"
12255+
},
12256+
"named": false,
12257+
"value": "asynchronous"
12258+
},
1225012259
{
1225112260
"type": "ALIAS",
1225212261
"content": {
@@ -20733,6 +20742,15 @@
2073320742
"named": false,
2073420743
"value": "allocatable"
2073520744
},
20745+
{
20746+
"type": "ALIAS",
20747+
"content": {
20748+
"type": "PATTERN",
20749+
"value": "[aA][sS][yY][nN][cC][hH][rR][oO][nN][oO][uU][sS]"
20750+
},
20751+
"named": false,
20752+
"value": "asynchronous"
20753+
},
2073620754
{
2073720755
"type": "ALIAS",
2073820756
"content": {

src/node-types.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7062,6 +7062,10 @@
70627062
"type": "assumed_rank",
70637063
"named": true
70647064
},
7065+
{
7066+
"type": "asynchronous",
7067+
"named": false
7068+
},
70657069
{
70667070
"type": "attributes",
70677071
"named": false

0 commit comments

Comments
 (0)