summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortranLexer.in.l
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-08-16 18:22:40 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-08-16 18:22:40 (GMT)
commit11d18d65dc97ca52d372c8e5ef8294a7f27cb08e (patch)
tree13ae48d5abeb2a53b6ef283c96c264c757c5b83d /Source/cmDependsFortranLexer.in.l
parent93f8880ca12817d5fb23b79c0efb91b73893eaae (diff)
downloadCMake-11d18d65dc97ca52d372c8e5ef8294a7f27cb08e.zip
CMake-11d18d65dc97ca52d372c8e5ef8294a7f27cb08e.tar.gz
CMake-11d18d65dc97ca52d372c8e5ef8294a7f27cb08e.tar.bz2
ENH: revert change in parser as it sent the parser into an infinite loop
Diffstat (limited to 'Source/cmDependsFortranLexer.in.l')
-rw-r--r--Source/cmDependsFortranLexer.in.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDependsFortranLexer.in.l b/Source/cmDependsFortranLexer.in.l
index 1ee8531..8326eae 100644
--- a/Source/cmDependsFortranLexer.in.l
+++ b/Source/cmDependsFortranLexer.in.l
@@ -105,7 +105,7 @@ Modify cmDependsFortranLexer.h:
}
!.*\n { return EOSTMT; } /* Treat comments like */
-^[cC*].*\n { return EOSTMT; } /* empty lines */
+<fixed_fmt>^[cC*dD].*\n { return EOSTMT; } /* empty lines */
#[ \t]*include { return CPP_INCLUDE; }
\$[ \t]*include { return F90PPR_INCLUDE; }