diff options
author | Brad King <brad.king@kitware.com> | 2006-08-09 13:45:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-08-09 13:45:04 (GMT) |
commit | 3d6100d7c6117b24e02db83be59ff0b5a1442f23 (patch) | |
tree | 00a7b3d5d988f22b93c1ce64e960d49385a1fe7b /Source/cmListFileLexer.c | |
parent | aab5816479bb7e211ce418b8ceb3da817b915cd5 (diff) | |
download | CMake-3d6100d7c6117b24e02db83be59ff0b5a1442f23.zip CMake-3d6100d7c6117b24e02db83be59ff0b5a1442f23.tar.gz CMake-3d6100d7c6117b24e02db83be59ff0b5a1442f23.tar.bz2 |
COMP: Fix warnings produced by the change in include order from the re-organization of lexer code.
Diffstat (limited to 'Source/cmListFileLexer.c')
-rw-r--r-- | Source/cmListFileLexer.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/cmListFileLexer.c b/Source/cmListFileLexer.c index d0159a5..01e099e 100644 --- a/Source/cmListFileLexer.c +++ b/Source/cmListFileLexer.c @@ -503,16 +503,12 @@ Modify cmListFileLexer.c: - add a statement "(void)yyscanner;" to the top of these methods: yy_fatal_error, cmListFileLexer_yyalloc, cmListFileLexer_yyrealloc, cmListFileLexer_yyfree - remove all YY_BREAK lines occurring right after return statements + - remove the isatty forward declaration */ #include "cmStandardLexer.h" -/* Disable features we do not need. */ -#define YY_NO_INPUT 1 -#define YY_NO_UNPUT 1 -#define YY_NO_UNISTD_H 1 - /* Setup the proper cmListFileLexer_yylex declaration. */ #define YY_EXTRA_TYPE cmListFileLexer* #define YY_DECL int cmListFileLexer_yylex (yyscan_t yyscanner, cmListFileLexer* lexer) @@ -1513,10 +1509,6 @@ static void cmListFileLexer_yy_load_buffer_state (yyscan_t yyscanner) cmListFileLexer_yyfree((void *) b ,yyscanner ); } -#ifndef __cplusplus -extern int isatty (int ); -#endif /* __cplusplus */ - /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, * such as during a cmListFileLexer_yyrestart() or at EOF. |