summaryrefslogtreecommitdiff
path: root/lib/sbin/f_file_processor.pl
Commit message (Collapse)AuthorAge
* fix multiline perlknarf2009-01-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4518 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't treat HPF and OMP directives as commentsschnetter2008-01-25
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@4455 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Add some comments.schnetter2006-07-05
| | | | | | | | Set the current file name together with the current line number when a "#" statement is encountered. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4344 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make the line length and indentation depth for free form Fortran aschnetter2004-06-29
| | | | | | | | | global constant. Increase the default from 79 to 132. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3802 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not produce empty continuation lines, which would contain "&&"schnetter2004-03-02
| | | | | | | sequences. Those are apparently illegal in Fortran 90. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3580 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Do not output an initial line directive at the beginning of eachschnetter2004-01-21
| | | | | | | preprocessed file. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3553 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Improve reported file name for Fortran codeschnetter2004-01-19
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3531 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make error messages and debug information point to the real sourceschnetter2004-01-19
| | | | | | | | file instead of the preprocessed file. The options C_LINE_DIRECTIVES and F_LINE_DIRECTIVES control this behaviour. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3527 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Fokke Dijkstra's patch to properly deal with comments in linestradke2003-12-05
| | | | | | | | with strings. Also switched on warnings for this perl script. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3471 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove trailing spaces before a & with free form fortran.allen2003-07-05
| | | | | | | Fixes Cactus/807 git-svn-id: http://svn.cactuscode.org/flesh/trunk@3250 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Chop comment lines at 132 to avoid surprising Fortran90 peopleallen2002-09-07
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2997 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Chop comment lines (which are now not removed by the Fortran preprocessor)allen2002-09-07
| | | | | | | | | to 72 columns after macros are expanded and quotes are removed. This will hopefully solve the problems of macro names in comments being expandedand still allow machine specific directives to be included in comments. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2996 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove trailing spaces on a line before splitting with line breaksallen2002-08-20
| | | | | | | Fixes Cactus/842 git-svn-id: http://svn.cactuscode.org/flesh/trunk@2978 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Don't remove the fortran comments (which start with a c,C or ! in the firstallen2002-08-16
| | | | | | | | | | column) during pre-processing. This is to allow machine optimisations which are inserted in comments to be used. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2955 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Concatenate lines with a trailing backslash character if the system preprocessortradke2002-05-31
| | | | | | | | | didn't do this yet for us. This solves the problem of incorrect preprocessing of the new free-fortran-style ADM macros on some systems (such as SP3). git-svn-id: http://svn.cactuscode.org/flesh/trunk@2880 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix for Cactus/313 (comments in free fortran format)allen2000-04-16
| | | | | | | | | | | This isn't a perfect solution, but fixes the reported case. It will still break with CCTK_WARN(0,"blah blah") ! CCTK_WARN(0,"very long line ..... ") Complete fix will be added soon .... git-svn-id: http://svn.cactuscode.org/flesh/trunk@1542 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Cactus/236allen2000-02-28
| | | | | | | | Fixing potential problems with perl processing of Freeform Fortran source code git-svn-id: http://svn.cactuscode.org/flesh/trunk@1404 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Sorted out a problem with the T3E f90 compiler.goodale1999-11-24
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1171 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Merged in Erik's free-format f90 stuff. Until we have a standardgoodale1999-11-24
| | | | | | | | | | | | | | thorn with free-format f90 in it this is not guaranteed to work on all platforms. Thanks for doing this Erik. Tidied up the f_file_processor to some extent added grdoc stuff to it, and made the formatting consistent with the rest of the perl in the CCTK. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1168 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Remove comments before adding line breaksallen1999-11-24
| | | | | | | Fix for Cactus/171 git-svn-id: http://svn.cactuscode.org/flesh/trunk@1167 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed to use Perl5 stuff...goodale1999-10-24
| | | | | | | | | | | | | local -> my used perl 5 references for passing databases around in the CST. CST is now about a factor of 16 faster ! Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1101 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Get rid of ! Fortran comments in the first coloumallen1999-07-26
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@788 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fortran file preprocessor (was Breaklines). Forgot to commit earlier.goodale1999-01-22
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@114 17b73243-c579-4c4c-a9d2-2d5706c11dac