mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
COMP: Removing #line directives from .h file to avoid bogus Sun warning.
This commit is contained in:
@@ -23,7 +23,7 @@ Run flex like this:
|
||||
|
||||
flex --prefix=cmDependsJava_yy --header-file=cmDependsJavaLexer.h -ocmDependsJavaLexer.cxx cmDependsJavaLexer.in.l
|
||||
|
||||
Modify cmDependsJavaLexer.c:
|
||||
Modify cmDependsJavaLexer.cxx:
|
||||
- remove TABs
|
||||
- remove "yyscanner" argument from these methods:
|
||||
yy_fatal_error, yyalloc, yyrealloc, yyfree
|
||||
@@ -33,6 +33,7 @@ Modify cmDependsJavaLexer.h:
|
||||
- remove TABs
|
||||
- remove the yy_init_globals function
|
||||
- remove the block that includes unistd.h
|
||||
- remove #line directives (avoids bogus warning on old Sun)
|
||||
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user