diff options
author | Brad King <brad.king@kitware.com> | 2013-08-07 12:07:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-08-08 17:26:28 (GMT) |
commit | c50f7ede200e2a7cd02d59117ac93543b602885c (patch) | |
tree | 761dbedce17aab6cb3874f06a95c004fcbe1a135 /Source/cmListFileLexer.in.l | |
parent | bf73264694234c4e82b31689b64b8a33d61552a9 (diff) | |
download | CMake-c50f7ede200e2a7cd02d59117ac93543b602885c.zip CMake-c50f7ede200e2a7cd02d59117ac93543b602885c.tar.gz CMake-c50f7ede200e2a7cd02d59117ac93543b602885c.tar.bz2 |
cmListFileLexer: Modify flex output to avoid Borland warning
Remove the "yyscanner = NULL" assignment from the end of the
yylex_destroy function because Borland warns that the value is never
used.
Diffstat (limited to 'Source/cmListFileLexer.in.l')
-rw-r--r-- | Source/cmListFileLexer.in.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmListFileLexer.in.l b/Source/cmListFileLexer.in.l index e5ddb9e..12b53ee 100644 --- a/Source/cmListFileLexer.in.l +++ b/Source/cmListFileLexer.in.l @@ -24,6 +24,7 @@ Modify cmListFileLexer.c: - remove the yyunput function - add a statement "(void)yyscanner;" to the top of these methods: yy_fatal_error, cmListFileLexer_yyalloc, cmListFileLexer_yyrealloc, cmListFileLexer_yyfree + - remove statement "yyscanner = NULL;" from cmListFileLexer_yylex_destroy - remove all YY_BREAK lines occurring right after return statements - remove the isatty forward declaration |