-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fortran 2003 and conditionals #19
Comments
PS. I notice in previous bug reports you ask for a reference for the language structure. Here's the exhaustive specification of the language: |
I believe the Class and extends are not constructs currently supported by the grammar, so they are not intended to be matched at all currently. (Neither is Same with the conditional lines, though I do not see those mentioned at all in the document linked. |
The MpiUtils.f90 file has #ifdef MPI etc, which are currently highlighted the same way a fortran code. |
Yes I see them there I meant I don't see them mentioned in the spec document you linked. |
Ah, Fortran just uses the standard C preprocessor directives. |
To add to this, |
"optional", "allocatable", "class", "Type, extends", and other elements of Fortran 2003 code are not highlighted consistently. Also #ifdef, #endif are not highlighted clearly differently.
e.g. see
https://github.com/cmbant/forutils/blob/master/ObjectLists.f90
https://github.com/cmbant/forutils/blob/master/MpiUtils.f90
The text was updated successfully, but these errors were encountered: