diff options
author | Brad King <brad.king@kitware.com> | 2005-02-01 15:42:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-02-01 15:42:52 (GMT) |
commit | 04e56bf7ff622e9dd741b1ff28b3cbcb87b3a620 (patch) | |
tree | 6733f3e2da83fc880fd5bcad5926bfe6abc03158 /Source/cmDependsFortran.cxx | |
parent | 51db85934fd0a0b879cdb880ccbf1eca1dd28c35 (diff) | |
download | CMake-04e56bf7ff622e9dd741b1ff28b3cbcb87b3a620.zip CMake-04e56bf7ff622e9dd741b1ff28b3cbcb87b3a620.tar.gz CMake-04e56bf7ff622e9dd741b1ff28b3cbcb87b3a620.tar.bz2 |
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.
Diffstat (limited to 'Source/cmDependsFortran.cxx')
-rw-r--r-- | Source/cmDependsFortran.cxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx index 53cfaeb..065684a 100644 --- a/Source/cmDependsFortran.cxx +++ b/Source/cmDependsFortran.cxx @@ -18,7 +18,6 @@ #include "cmSystemTools.h" -#include "cmDependsFortranLexer.h" /* Interface to lexer object. */ #include "cmDependsFortranParser.h" /* Interface to parser object. */ #include <assert.h> @@ -26,15 +25,14 @@ //---------------------------------------------------------------------------- // Parser methods not included in generated interface. -extern "C" -{ - // Get the current buffer processed by the lexer. - YY_BUFFER_STATE cmDependsFortranLexer_GetCurrentBuffer(yyscan_t yyscanner); - // The parser entry point. - int cmDependsFortran_yyparse(yyscan_t); -} +// Get the current buffer processed by the lexer. +YY_BUFFER_STATE cmDependsFortranLexer_GetCurrentBuffer(yyscan_t yyscanner); +// The parser entry point. +int cmDependsFortran_yyparse(yyscan_t); + +//---------------------------------------------------------------------------- // Define parser object internal structure. struct cmDependsFortranFile { |