Skip to content
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. "Only" clause used when importing modules variables is not highlighted. #1543

Closed
ecasglez opened this issue Sep 14, 2020 · 0 comments · Fixed by #1635
Closed

Fortran. "Only" clause used when importing modules variables is not highlighted. #1543

ecasglez opened this issue Sep 14, 2020 · 0 comments · Fixed by #1635

Comments

@ecasglez
Copy link
Contributor

The following Fortran code:

PROGRAM example

   USE testmodule, ONLY: var

   IMPLICIT NONE

   INTEGER :: n

   n = 1
   WRITE(*,*) n

END PROGRAM example

produces the following output:

only

The ONLY clause at line 3 should be highlighted. It can be uppercase and lowercase.

0xflotus added a commit to 0xflotus/pygments that referenced this issue Dec 14, 2020
birkenfeld pushed a commit that referenced this issue Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant