summaryrefslogtreecommitdiff
path: root/Source/cmDependsFortranLexer.in.l
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-05-03 15:19:34 -0400
committerBrad King <brad.king@kitware.com>2005-05-03 15:19:34 -0400
commit4b843d135e9cded06b95224a52caba094619d4b9 (patch)
tree9234e74b525b102731b5cfc644af04365b9998d8 /Source/cmDependsFortranLexer.in.l
parentbac564356b52b6ef1782615ad704d07bd7b8edd6 (diff)
downloadcmake-4b843d135e9cded06b95224a52caba094619d4b9.tar.gz
COMP: Removed warnings about unreachable code and constant control expressions. Added the changes to the instructions in the input lex files.
Diffstat (limited to 'Source/cmDependsFortranLexer.in.l')
-rw-r--r--Source/cmDependsFortranLexer.in.l2
1 files changed, 2 insertions, 0 deletions
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