Closed
Description
Hi all - nice extension, thanks for your work in maintaining this repo.
The syntax highlighting appears to be incorrect for forall
statements that consist of only one line. Please see the following example:
In line 4, arr(i) = i * i
has been highlighted in red, even though this is valid syntax and the file compiles (gfortran). The error propagates to other parts of the program too: notice that the end
statement is also no longer highlighted here. For comparison, compare with the highlighting when the forall
removed.
In more complex files, this error propagation becomes quite severe, causing a large number of syntax-highlighting issues, rendering some files almost unreadable.
Many thanks.