summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsJavaLexer.in.l
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-02-01 15:44:34 (GMT)
committerBrad King <brad.king@kitware.com>2005-02-01 15:44:34 (GMT)
commit289c74541a494f9566cd70328bd7b124dde3d75a (patch)
treeb3ccbfc441fbb53e5ae5979763fb0aa638643449 /Source/cmDependsJavaLexer.in.l
parentf7165110baaf78c56e592f86e96802089a7e5047 (diff)
downloadCMake-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/cmDependsJavaLexer.in.l')
-rw-r--r--Source/cmDependsJavaLexer.in.l3
1 files changed, 2 insertions, 1 deletions
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)
*/