File tree Expand file tree Collapse file tree 2 files changed +30
-14
lines changed Expand file tree Collapse file tree 2 files changed +30
-14
lines changed Original file line number Diff line number Diff line change 165
165
</dict >
166
166
<dict >
167
167
<key >begin </key >
168
- <string >\b(?i:(integer|real|double\s+precision |complex|logical|character))\b(?=.*::) </string >
168
+ <string >\b(?i:(integer|real|double\sprecision |complex|logical|character))\b(?=.*::) </string >
169
169
<key >beginCaptures </key >
170
170
<dict >
171
171
<key >1 </key >
216
216
<key >comment </key >
217
217
<string >operators </string >
218
218
<key >match </key >
219
- <string >((?< !\=)\=(?!\=)|\-|\+|\/\/|\/|(?!^)\*|::) </string >
219
+ <string >((?< !\=)\=(?!\=)|\-|\+|\/\/|\/(?!\=|\)) |(?!^)\*|::) </string >
220
220
<key >name </key >
221
221
<string >keyword.operator.fortran </string >
222
222
</dict >
226
226
<key >match </key >
227
227
<string >(?i:(\.and\.|\.or\.|\.eq\.|\.lt\.|\.le\.|\.gt\.|\.ge\.|\.ne\.|\.not\.|\.eqv\.|\.neqv\.)) </string >
228
228
<key >name </key >
229
- <string >keyword.operator. logical.fortran </string >
229
+ <string >keyword.logical.operator .fortran </string >
230
230
</dict >
231
231
<dict >
232
232
<key >comment </key >
256
256
<key >comment </key >
257
257
<string >mathematical intrisics </string >
258
258
<key >match </key >
259
- <string >\b(?i:(((acos|asin|atan|atan2|cos|cosh|exp|log|log10|sin|sinh|sqrt|tan|tanh)(?=\())|(random_number|random_seed)))\b </string >
259
+ <string >\b(?i:(((acos|asin|atan|atan2|cos|cosh|exp|log|log10|sin|sinh|sqrt|tan|tanh|abs )(?=\())|(random_number|random_seed)))\b </string >
260
260
<key >name </key >
261
261
<string >keyword.other.instrisic.math.fortran </string >
262
262
</dict >
304
304
<key >comment </key >
305
305
<string >other intrisics </string >
306
306
<key >match </key >
307
- <string >\b(?i:(((dtime)(?=\())|(date_and_time|system_clock)))\b </string >
307
+ <string >\b(?i:(((dtime)(?=\())|(date_and_time|system_clock|cpu_time )))\b </string >
308
308
<key >name </key >
309
309
<string >keyword.other.instrisic.fortran </string >
310
310
</dict >
311
311
<dict >
312
312
<key >comment </key >
313
313
<string >data specification </string >
314
314
<key >match </key >
315
- <string >\b(?i:(integer|real|double\s+precision |complex|logical|character|block\sdata|operator|assignment))\b </string >
315
+ <string >\b(?i:(integer|real|double\sprecision |complex|logical|character|block\sdata|operator|assignment))\b </string >
316
316
<key >name </key >
317
317
<string >storage.type.fortran </string >
318
318
</dict >
Original file line number Diff line number Diff line change 299
299
<dict >
300
300
<key >comment </key >
301
301
<string >logical operators in symbolic format </string >
302
- <key >match </key >
303
- <string >\b(\= \=|\/ \=|\> \=|\ > |\ < |\ < \=)\b </string >
302
+ <key >match </key >
303
+ <string >(?i:(\< \=|\> \=|\<|\>|\/\=|\= \=)) </string >
304
304
<key >name </key >
305
- <string >keyword.operator. logical.fortran.modern </string >
305
+ <string >keyword.logical.operator .fortran.modern </string >
306
306
</dict >
307
307
<dict >
308
308
<key >comment </key >
309
309
<string >operators </string >
310
310
<key >match </key >
311
- <string >(\%|\=\ > ) </string >
311
+ <string >(\%|\/\)|\(\/ ) </string >
312
312
<key >name </key >
313
- <string >keyword.operator.fortran.modern </string >
313
+ <string >keyword.other. operator.fortran.modern </string >
314
314
</dict >
315
315
<dict >
316
316
<key >comment </key >
317
317
<string >numeric instrinsics </string >
318
318
<key >match </key >
319
- <string >\b(?i:(ceiling|floor|modulo|abs|sin )(?=\()) </string >
320
- <key >name </key >
321
- <string >keyword.other.instrinsic.numeric .fortran.modern </string >
319
+ <string >\b(?i:(ceiling|floor|modulo|isnan|idint|idnint|norm2|dsqrt )(?=\()) </string >
320
+ <key >name </key >
321
+ <string >keyword.other.instrinsic.math .fortran.modern </string >
322
322
</dict >
323
+ <dict >
324
+ <key >comment </key >
325
+ <string >trigonometric instrinsics </string >
326
+ <key >match </key >
327
+ <string >\b(?i:(cabs|dabs|iabs|dcos|dcosd|dcosh|dacos|dacosd|dacosh|dsin|dsind|dsinh|dasin|dasind|dasinh|dtan|dtand|dtanh|datan|datan2|datan2d|datand|datanh)(?=\()) </string >
328
+ <key >name </key >
329
+ <string >keyword.other.instrinsic.math.fortran.modern </string >
330
+ </dict >
331
+ <dict >
332
+ <key >comment </key >
333
+ <string >memory instrinsic functions </string >
334
+ <key >match </key >
335
+ <string >\b(?i:(move_alloc|malloc)(?=\()) </string >
336
+ <key >name </key >
337
+ <string >keyword.other.instrinsic.math.fortran.modern </string >
338
+ </dict >
323
339
<dict >
324
340
<key >comment </key >
325
341
<string >matrix/vector/array instrinsics </string >
You can’t perform that action at this time.
0 commit comments