diff options
author | hinder <hinder@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2011-04-11 20:46:57 +0000 |
---|---|---|
committer | hinder <hinder@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2011-04-11 20:46:57 +0000 |
commit | 48241b292362885d9f096c3e15868ff15ca67ce5 (patch) | |
tree | fb7cba581f7d2b162e35fe94759750acf244ed17 /doc | |
parent | de70f0ec86d22c36dac7dd4e69bdd0df29f49b31 (diff) |
f_file_processor.pl: Fix handling of continuation lines with OpenMP
OpenMP requires continuation lines in Fortran 90 (and possibly Fortran
77 as well though I have not checked that) to start with the OMP
sentinel (https://computing.llnl.gov/tutorials/openMP/#Directives).
This patch ensures that a sentinel OMP or HPF is repeated when a line
starting with that sentinel is broken to limit its length to 132
characters.
It also adds a case-insensitive flag to the check for "!" like comments
and adds extra backslashes to the standard_comments regex to properly
match $OMP after all metacharacters have been handled.
Tested with LoopControl's Fortran interface on gcc 4.5,Intel 11.1 and
PGI.
(Patch by Roland Haas)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4697 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions