Skip to content

OpenMP continuation not triggering correctly #225

Closed
@jefflarkin

Description

@jefflarkin

While I was testing the OpenACC directive support I discovered that the OpenMP continuation (and thus the OpenACC continuation) does not highlight properly if the optional & appears on the continued line's sentinel. I tried to debug this myself as a part of the PR, but even with a few sets of eyes on it I wasn't able to get it working.

!$omp parallel &
!$&omp do 

For the above code, if either & is left off the do will appropriately highlight, but if both are in place it does not. The specification allows for the ampersand on the sentinel and this is how I've seen it used in every code I've encountered.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions