Commit Graph

16 Commits

Author SHA1 Message Date
Brad King
ad2107903a Fortran: Follow <>-style includes (#13239)
Fortran sources that pass through the C preprocessor may use

 #include "header"

syntax or

 #include <header>

syntax.  CMake already follows the former.  Teach it to follow the
latter.
2012-05-22 14:07:24 -04:00
Brad King
96afb12087 Convert CMake to OSI-approved BSD License
This converts the CMake license to a pure 3-clause OSI-approved BSD
License.  We drop the previous license clause requiring modified
versions to be plainly marked.  We also update the CMake copyright to
cover the full development time range.
2009-09-28 11:43:28 -04:00
Brad King
590a0c809e COMP: Remove useless assignment in Fortran lexer
The generated Fortran dependency scanning lexer includes an assignment
to a local variable that is unused.  Borland warns, so we remove the
assignment.
2009-06-12 10:46:03 -04:00
Brad King
5bf6dba9e8 ENH: Patch from Maik to add Fortran03 USE syntax support.
- I tweaked the patch to add 'other' production rules for COMMA and DCOLON
  - See issue #6884.
2008-04-23 23:53:20 -04:00
Brad King
2eb3653d79 STYLE: Fix reference to makedepf90 project. 2008-04-21 11:28:53 -04:00
Brad King
52898fe925 BUG: Fix Fortran dependency parser preprocessor handling crash.
- Do not crash if a #elseif occurs out of order
  - Recognize preprocessor directives only at the beginning of lines.
  - See issue #6855
2008-04-21 11:15:56 -04:00
Brad King
f8caab4613 BUG: Fix for bug#5809. Applied patch supplied in the bug report. Updated pre-generated lexer and parser sources. This updates the makedepf90 version to 2.8.8. The parser actions have been updated to ignore "use" in comments properly. 2007-10-03 15:41:39 -04:00
Bill Hoffman
11d18d65dc ENH: revert change in parser as it sent the parser into an infinite loop 2006-08-16 14:22:40 -04:00
Bill Hoffman
7169980b59 ENH: change comment for fortran depend parsing 2006-08-15 10:56:00 -04:00
Brad King
a3836e09a2 COMP: Moved duplicate flex-generated lexer warning suppression and cross-platform support code to a single cmStandardLexer.h included by all lexer sources. Added fix for macro redefinitions on Borland 5.8 compiler. 2006-08-08 14:00:28 -04:00
Brad King
ab61137eb1 COMP: Fix and/or disable warnings for Borland 5.6 build. 2006-08-01 11:38:42 -04:00
Brad King
a7d4b61699 BUG: Lexer should be case insensitive so flex should be run with -i option. This partially addresses bug#2361. 2005-10-17 09:58:53 -04:00
Brad King
4b843d135e COMP: Removed warnings about unreachable code and constant control expressions. Added the changes to the instructions in the input lex files. 2005-05-03 15:19:34 -04:00
Brad King
04e56bf7ff ENH: Changed over to using C++ for building flex/bison generated files. It reduces the number of changes that need to be made after generation. 2005-02-01 10:42:52 -05:00
Brad King
d69cc8c63f COMP: Added additional instructions about how to modify the generated files. 2005-01-26 16:10:31 -05:00
Brad King
19f977bad7 ENH: Added Fortran dependency scanner implementation. 2005-01-26 15:33:38 -05:00