summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileLexer.in.l
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-09 13:45:04 (GMT)
committerBrad King <brad.king@kitware.com>2006-08-09 13:45:04 (GMT)
commit3d6100d7c6117b24e02db83be59ff0b5a1442f23 (patch)
tree00a7b3d5d988f22b93c1ce64e960d49385a1fe7b /Source/cmListFileLexer.in.l
parentaab5816479bb7e211ce418b8ceb3da817b915cd5 (diff)
downloadCMake-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.in.l')
-rw-r--r--Source/cmListFileLexer.in.l6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmListFileLexer.in.l b/Source/cmListFileLexer.in.l
index e98fb3e..64a8fe0 100644
--- a/Source/cmListFileLexer.in.l
+++ b/Source/cmListFileLexer.in.l
@@ -29,16 +29,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)