diff options
author | Brad King <brad.king@kitware.com> | 2005-02-01 15:44:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-02-01 15:44:34 (GMT) |
commit | 289c74541a494f9566cd70328bd7b124dde3d75a (patch) | |
tree | b3ccbfc441fbb53e5ae5979763fb0aa638643449 /Source | |
parent | f7165110baaf78c56e592f86e96802089a7e5047 (diff) | |
download | CMake-289c74541a494f9566cd70328bd7b124dde3d75a.zip CMake-289c74541a494f9566cd70328bd7b124dde3d75a.tar.gz CMake-289c74541a494f9566cd70328bd7b124dde3d75a.tar.bz2 |
COMP: Removing #line directives from .h file to avoid bogus Sun warning.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmDependsJavaLexer.h | 7 | ||||
-rw-r--r-- | Source/cmDependsJavaLexer.in.l | 3 |
2 files changed, 2 insertions, 8 deletions
diff --git a/Source/cmDependsJavaLexer.h b/Source/cmDependsJavaLexer.h index 0254eb8..9b780a1 100644 --- a/Source/cmDependsJavaLexer.h +++ b/Source/cmDependsJavaLexer.h @@ -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 */ diff --git a/Source/cmDependsJavaLexer.in.l b/Source/cmDependsJavaLexer.in.l index 4eab54e..7afc323 100644 --- a/Source/cmDependsJavaLexer.in.l +++ b/Source/cmDependsJavaLexer.in.l @@ -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) */ |