From da7b9d306e1f4c77b82fe8bd8a9cefe5bf5b4628 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 26 Jan 2005 15:58:51 -0500 Subject: COMP: Added forward declaration of yylex. --- Source/cmDependsFortranParser.y | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmDependsFortranParser.y b/Source/cmDependsFortranParser.y index ba3ea59..e61a09e 100644 --- a/Source/cmDependsFortranParser.y +++ b/Source/cmDependsFortranParser.y @@ -45,6 +45,10 @@ Run bison like this: #include "cmDependsFortranLexer.h" /* Interface to lexer object. */ #include "cmDependsFortranParser.h" /* Interface to parser object. */ +#include "cmDependsFortranParserTokens.h" /* Need YYSTYPE for YY_DECL. */ + +/* Forward declare the lexer entry point. */ +YY_DECL; /* Internal utility functions. */ static void cmDependsFortranError(yyscan_t yyscanner, const char* message); -- cgit v0.12