Fortran90 OpenMP directives -- syntax highlighting?
"Carlie J. Coats" <coats-2t3TNz6Y5MFWk0Htik3J/[email protected]>
| Newsgroups | gmane.editors.nedit.user |
|---|---|
| Message-ID | <[email protected]> |
Fortran OpenMP directives look something like the following example:
!$OMP PARALLEL DO DEFAULT( NONE ), &
!$OMP& SHARED( C1, C2, R1, R2, DH, KH, SFCHEADRT ), &
!$OMP& PRIVATE( I, J, K, C, R ), &
!$OMP& SCHEDULE( DYNAMIC )
where a directive is started by a "!$OMP", and continued by a
"&\n!$OMP&". It would be nice to have them highlighted in some
fashion. I've tried to treat them as "Preprocessor" style by
adding a "Directive:"^!\$OMP":"$"::Preprocessor::\n\" line
to the Fortran90 "nedit.highlightPatterns" in my RC file (not
a full-strength description of the directives, but for a first
cut, it should help), and that didn't work for me. I'm probably
missing something obvious;-(
How *should* I do it?
-- Carlie J. Coats, Jr.
Baron Advanced Meteorological Systems, LLC.
--
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss