COMP: Removing #line directives from .h file to avoid bogus Sun warning.

This commit is contained in:
Brad King 2005-02-01 10:44:34 -05:00
parent f7165110ba
commit 289c74541a
2 changed files with 2 additions and 8 deletions

View File

@ -2,10 +2,6 @@
#define cmDependsJava_yyHEADER_H 1 #define cmDependsJava_yyHEADER_H 1
#define cmDependsJava_yyIN_HEADER 1 #define cmDependsJava_yyIN_HEADER 1
#line 6 "cmDependsJavaLexer.h"
#line 8 "cmDependsJavaLexer.h"
#define YY_INT_ALIGNED short int #define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */ /* 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_IS_OURS
#undef YY_DECL #undef YY_DECL
#endif #endif
#line 214 "cmDependsJavaLexer.in.l"
#line 327 "cmDependsJavaLexer.h"
#undef cmDependsJava_yyIN_HEADER #undef cmDependsJava_yyIN_HEADER
#endif /* cmDependsJava_yyHEADER_H */ #endif /* cmDependsJava_yyHEADER_H */

View File

@ -23,7 +23,7 @@ Run flex like this:
flex --prefix=cmDependsJava_yy --header-file=cmDependsJavaLexer.h -ocmDependsJavaLexer.cxx cmDependsJavaLexer.in.l flex --prefix=cmDependsJava_yy --header-file=cmDependsJavaLexer.h -ocmDependsJavaLexer.cxx cmDependsJavaLexer.in.l
Modify cmDependsJavaLexer.c: Modify cmDependsJavaLexer.cxx:
- remove TABs - remove TABs
- remove "yyscanner" argument from these methods: - remove "yyscanner" argument from these methods:
yy_fatal_error, yyalloc, yyrealloc, yyfree yy_fatal_error, yyalloc, yyrealloc, yyfree
@ -33,6 +33,7 @@ Modify cmDependsJavaLexer.h:
- remove TABs - remove TABs
- remove the yy_init_globals function - remove the yy_init_globals function
- remove the block that includes unistd.h - remove the block that includes unistd.h
- remove #line directives (avoids bogus warning on old Sun)
*/ */