Commit Graph

24 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 f5a86a83d3 ENH: Use KWSys String strcasecmp to parse Fortran
This replaces the Fortran dependency parser source's custom strcasecmp
implementation with one from KWSys String.  It removes duplicate code
and avoids a Borland warning about inlining functions with 'while'.
2009-06-12 10:46:25 -04:00
Brad King ab629e28f3 BUG: Do not use 'char' type as array subscript
This converts uses of 'char' as an array subscript to 'unsigned char' to
heed the warning from gcc.  The subscript must be an unsigned type to
avoid indexing before the beginning of the array.  This change avoids a
potential crash if input text contains a byte value beyond 0x7f.
2009-02-17 11:53:57 -05: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 e2e8993eb3 BUG: Fix parsing of fortran include directives during dependency scanning. Previously only #include worked but not just include. 2008-01-07 23:08:42 -05:00
Brad King 60149b33c1 BUG: Fixed memory-leaks in fortran parser. 2007-12-17 17:55:21 -05:00
Brad King ca5c5fc770 BUG: Fix parsing of #include preprocessor directives. 2007-12-17 17:55:03 -05:00
Brad King 89dc3b0753 COMP: Disable some warnings in generated code. Disable compilation of unused goto block. 2007-10-05 10:02:34 -04:00
Bill Hoffman 056f10bf0d ENH: update .y file with borland fix, and use a table based strcasecmp 2007-10-04 15:31:03 -04:00
Brad King d06c2eed9a COMP: Do not use non-portable strcasecmp. 2007-10-03 17:01:49 -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
Brad King ab61137eb1 COMP: Fix and/or disable warnings for Borland 5.6 build. 2006-08-01 11:38:42 -04:00
Brad King 16125cd015 COMP: Added __INTEL_COMPILER to test for yyerrorlab warning suppression. 2005-03-14 08:15:08 -05:00
Brad King a9af1c23ef COMP: Adding warning work-around for unused case label yyerrorlab on HP compiler. 2005-02-02 17:05:38 -05:00
Brad King c98687ed9e COMP: Disabling warning in generated code. 2005-02-01 11:28:38 -05: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
Andy Cedilnik 3a67582df8 STYLE: Add some diff helping comments 2005-01-28 17:13:03 -05:00
Brad King 1d1aafda59 COMP: Disabled warnings in generated code. 2005-01-28 17:09:43 -05:00
Brad King a5a9822080 COMP: Added instruction to remove TABs from generated file. 2005-01-26 16:19:05 -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 da7b9d306e COMP: Added forward declaration of yylex. 2005-01-26 15:58:51 -05:00
Brad King 19f977bad7 ENH: Added Fortran dependency scanner implementation. 2005-01-26 15:33:38 -05:00