COMP: Defining YY_NO_INPUT to remove compilation of unused yyinput function. It was producing a warning about unreachable code.

This commit is contained in:
Brad King 2005-03-15 08:14:35 -05:00
parent 5ddaebb522
commit 28bb8e04c0
2 changed files with 2 additions and 0 deletions

View File

@ -508,6 +508,7 @@ Modify cmListFileLexer.c:
/* Disable features we do not need. */ /* Disable features we do not need. */
#define YY_NEVER_INTERACTIVE 1 #define YY_NEVER_INTERACTIVE 1
#define YY_NO_INPUT 1
#define YY_NO_UNPUT 1 #define YY_NO_UNPUT 1
#define YY_NO_UNISTD_H 1 #define YY_NO_UNISTD_H 1
#define ECHO #define ECHO

View File

@ -34,6 +34,7 @@ Modify cmListFileLexer.c:
/* Disable features we do not need. */ /* Disable features we do not need. */
#define YY_NEVER_INTERACTIVE 1 #define YY_NEVER_INTERACTIVE 1
#define YY_NO_INPUT 1
#define YY_NO_UNPUT 1 #define YY_NO_UNPUT 1
#define YY_NO_UNISTD_H 1 #define YY_NO_UNISTD_H 1
#define ECHO #define ECHO