Skip to content

open mp, allocate, character(name) #29

Description

@sujona

Hi, and thank you for a great tool!
I hope this is the right place to report on bugs in the highlighting.
I get erroneous behavior in these 3 occasions:

  1. This openMP expression is treated as a comment:
!$ call omp_set_num_threads(16) 
! But the following is recognized:
!$omp parallel do 
  1. This declaration (where 'char' is set in a module) is treated as regular foreground text:
character(char) ::     string1     
! However the following is recognized:
character(100) ::      string2
  1. The following allocation statement also looks like regular foreground text:
allocate ( &
   array1(N), &
   array2(N), &
   array3(N), &
   )    
! While this is correctly highlighted:
allocate ( array5(N) )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions