mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-04 14:50:23 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user