diff options
author | Brad King <brad.king@kitware.com> | 2007-10-03 19:41:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-10-03 19:41:39 (GMT) |
commit | f8caab461315c1588412047eab965d3972f52efb (patch) | |
tree | e21fe14303ffcee50995cbb5352284a19f55da3e /Source/cmDependsFortranParser.h | |
parent | 00c33e7e8f0ec3e8be1a1f06eea86e5d00b7514f (diff) | |
download | CMake-f8caab461315c1588412047eab965d3972f52efb.zip CMake-f8caab461315c1588412047eab965d3972f52efb.tar.gz CMake-f8caab461315c1588412047eab965d3972f52efb.tar.bz2 |
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.
Diffstat (limited to 'Source/cmDependsFortranParser.h')
-rw-r--r-- | Source/cmDependsFortranParser.h | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/Source/cmDependsFortranParser.h b/Source/cmDependsFortranParser.h index 362c5d8..6b39775 100644 --- a/Source/cmDependsFortranParser.h +++ b/Source/cmDependsFortranParser.h @@ -23,20 +23,33 @@ typedef struct cmDependsFortranParser_s cmDependsFortranParser; /* Functions to enter/exit #include'd files in order. */ -int cmDependsFortranParser_FilePush(cmDependsFortranParser* parser, +bool cmDependsFortranParser_FilePush(cmDependsFortranParser* parser, const char* fname); -int cmDependsFortranParser_FilePop(cmDependsFortranParser* parser); +bool cmDependsFortranParser_FilePop(cmDependsFortranParser* parser); /* Callbacks for lexer. */ int cmDependsFortranParser_Input(cmDependsFortranParser* parser, char* buffer, size_t bufferSize); + + void cmDependsFortranParser_StringStart(cmDependsFortranParser* parser); const char* cmDependsFortranParser_StringEnd(cmDependsFortranParser* parser); void cmDependsFortranParser_StringAppend(cmDependsFortranParser* parser, char c); + void cmDependsFortranParser_SetInInterface(cmDependsFortranParser* parser, - int in); -int cmDependsFortranParser_GetInInterface(cmDependsFortranParser* parser); + bool is_in); +bool cmDependsFortranParser_GetInInterface(cmDependsFortranParser* parser); + + +void cmDependsFortranParser_SetInPPFalseBranch(cmDependsFortranParser* parser, + bool is_in); +bool cmDependsFortranParser_GetInPPFalseBranch(cmDependsFortranParser* parser); + + +void cmDependsFortranParser_SetOldStartcond(cmDependsFortranParser* parser, + int arg); +int cmDependsFortranParser_GetOldStartcond(cmDependsFortranParser* parser); /* Callbacks for parser. */ void cmDependsFortranParser_Error(cmDependsFortranParser* parser, |