Skip to content

Commit 1b08f4c

Browse files
authored
Merge pull request stadelmanma#152 from stadelmanma/more-extensions
More extensions
2 parents 5d1a029 + e28fd2f commit 1b08f4c

File tree

4 files changed

+150235
-150215
lines changed

4 files changed

+150235
-150215
lines changed

grammar.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ module.exports = grammar({
9999
[$.coarray_critical_statement, $.identifier],
100100
[$.format_statement, $.identifier],
101101
[$._inline_if_statement, $.arithmetic_if_statement, $._block_if_statement, $.identifier],
102-
[$.file_position_statement, $.identifier],
103102
[$.cray_pointer_declaration, $.identifier],
104103
[$.unit_identifier, $.identifier],
105104
],
@@ -2301,7 +2300,7 @@ module.exports = grammar({
23012300
caseInsensitive('exit'),
23022301
caseInsensitive('external'),
23032302
caseInsensitive('fail'),
2304-
caseInsensitive('flush'),
2303+
prec(-1, caseInsensitive('flush')),
23052304
caseInsensitive('form'),
23062305
caseInsensitive('format'),
23072306
caseInsensitive('go'),
@@ -2336,7 +2335,7 @@ module.exports = grammar({
23362335
caseInsensitive('unit'),
23372336
caseInsensitive('unlock'),
23382337
caseInsensitive('value'),
2339-
caseInsensitive('wait'),
2338+
prec(-1, caseInsensitive('wait')),
23402339
prec(-1, caseInsensitive('where')),
23412340
caseInsensitive('write'),
23422341
),

src/grammar.json

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21143,13 +21143,17 @@
2114321143
"value": "fail"
2114421144
},
2114521145
{
21146-
"type": "ALIAS",
21146+
"type": "PREC",
21147+
"value": -1,
2114721148
"content": {
21148-
"type": "PATTERN",
21149-
"value": "[fF][lL][uU][sS][hH]"
21150-
},
21151-
"named": false,
21152-
"value": "flush"
21149+
"type": "ALIAS",
21150+
"content": {
21151+
"type": "PATTERN",
21152+
"value": "[fF][lL][uU][sS][hH]"
21153+
},
21154+
"named": false,
21155+
"value": "flush"
21156+
}
2115321157
},
2115421158
{
2115521159
"type": "ALIAS",
@@ -21478,13 +21482,17 @@
2147821482
"value": "value"
2147921483
},
2148021484
{
21481-
"type": "ALIAS",
21485+
"type": "PREC",
21486+
"value": -1,
2148221487
"content": {
21483-
"type": "PATTERN",
21484-
"value": "[wW][aA][iI][tT]"
21485-
},
21486-
"named": false,
21487-
"value": "wait"
21488+
"type": "ALIAS",
21489+
"content": {
21490+
"type": "PATTERN",
21491+
"value": "[wW][aA][iI][tT]"
21492+
},
21493+
"named": false,
21494+
"value": "wait"
21495+
}
2148821496
},
2148921497
{
2149021498
"type": "PREC",
@@ -21641,10 +21649,6 @@
2164121649
"_block_if_statement",
2164221650
"identifier"
2164321651
],
21644-
[
21645-
"file_position_statement",
21646-
"identifier"
21647-
],
2164821652
[
2164921653
"cray_pointer_declaration",
2165021654
"identifier"

0 commit comments

Comments
 (0)