Procházet zdrojové kódy

COMP: Added forward declaration of yylex.

Brad King před 21 roky
rodič
revize
da7b9d306e
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      Source/cmDependsFortranParser.y

+ 4 - 0
Source/cmDependsFortranParser.y

@@ -45,6 +45,10 @@ Run bison like this:
 
 
 #include "cmDependsFortranLexer.h"  /* Interface to lexer object.  */
 #include "cmDependsFortranLexer.h"  /* Interface to lexer object.  */
 #include "cmDependsFortranParser.h" /* Interface to parser 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.  */
 /* Internal utility functions.  */
 static void cmDependsFortranError(yyscan_t yyscanner, const char* message);
 static void cmDependsFortranError(yyscan_t yyscanner, const char* message);