From 4b843d135e9cded06b95224a52caba094619d4b9 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 3 May 2005 15:19:34 -0400 Subject: COMP: Removed warnings about unreachable code and constant control expressions. Added the changes to the instructions in the input lex files. --- Source/cmDependsFortranLexer.in.l | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/cmDependsFortranLexer.in.l') diff --git a/Source/cmDependsFortranLexer.in.l b/Source/cmDependsFortranLexer.in.l index 97d41d6aa2..6936f5cce8 100644 --- a/Source/cmDependsFortranLexer.in.l +++ b/Source/cmDependsFortranLexer.in.l @@ -37,6 +37,8 @@ Modify cmDependsFortranLexer.cxx: - remove TABs - remove "yyscanner" argument from these methods: yy_fatal_error, yyalloc, yyrealloc, yyfree + - remove all YY_BREAK lines occurring right after return statements + - change while ( 1 ) to for(;;) Modify cmDependsFortranLexer.h: - remove TABs -- cgit v1.2.1