Carlie J. Coats
2009-09-22 16:15:45 UTC
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.
!$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 - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss