summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortranLexer.in.l
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-05-03 19:19:34 (GMT)
committerBrad King <brad.king@kitware.com>2005-05-03 19:19:34 (GMT)
commit4b843d135e9cded06b95224a52caba094619d4b9 (patch)
tree9234e74b525b102731b5cfc644af04365b9998d8 /Source/cmDependsFortranLexer.in.l
parentbac564356b52b6ef1782615ad704d07bd7b8edd6 (diff)
downloadCMake-4b843d135e9cded06b95224a52caba094619d4b9.zip
CMake-4b843d135e9cded06b95224a52caba094619d4b9.tar.gz
CMake-4b843d135e9cded06b95224a52caba094619d4b9.tar.bz2
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 97d41d6..6936f5c 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