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:
parent
5ddaebb522
commit
28bb8e04c0
|
@ -508,6 +508,7 @@ Modify cmListFileLexer.c:
|
|||
|
||||
/* Disable features we do not need. */
|
||||
#define YY_NEVER_INTERACTIVE 1
|
||||
#define YY_NO_INPUT 1
|
||||
#define YY_NO_UNPUT 1
|
||||
#define YY_NO_UNISTD_H 1
|
||||
#define ECHO
|
||||
|
|
|
@ -34,6 +34,7 @@ Modify cmListFileLexer.c:
|
|||
|
||||
/* Disable features we do not need. */
|
||||
#define YY_NEVER_INTERACTIVE 1
|
||||
#define YY_NO_INPUT 1
|
||||
#define YY_NO_UNPUT 1
|
||||
#define YY_NO_UNISTD_H 1
|
||||
#define ECHO
|
||||
|
|
Loading…
Reference in New Issue