COMP: Removing #line directives from .h file to avoid bogus Sun warning.
This commit is contained in:
parent
f7165110ba
commit
289c74541a
|
@ -2,10 +2,6 @@
|
|||
#define cmDependsJava_yyHEADER_H 1
|
||||
#define cmDependsJava_yyIN_HEADER 1
|
||||
|
||||
#line 6 "cmDependsJavaLexer.h"
|
||||
|
||||
#line 8 "cmDependsJavaLexer.h"
|
||||
|
||||
#define YY_INT_ALIGNED short int
|
||||
|
||||
/* A lexical scanner generated by flex */
|
||||
|
@ -310,9 +306,6 @@ extern int cmDependsJava_yylex (yyscan_t yyscanner);
|
|||
#undef YY_DECL_IS_OURS
|
||||
#undef YY_DECL
|
||||
#endif
|
||||
#line 214 "cmDependsJavaLexer.in.l"
|
||||
|
||||
|
||||
#line 327 "cmDependsJavaLexer.h"
|
||||
#undef cmDependsJava_yyIN_HEADER
|
||||
#endif /* cmDependsJava_yyHEADER_H */
|
||||
|
|
|
@ -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)
|
||||
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue