summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortranLexer.in.l
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-04-24 03:53:20 (GMT)
committerBrad King <brad.king@kitware.com>2008-04-24 03:53:20 (GMT)
commit5bf6dba9e86b8686532b63f90c8f2f936c13020a (patch)
tree146b3584d56cb8aa8320da96027344b3b2478087 /Source/cmDependsFortranLexer.in.l
parent4cf167173fb3b3d3da4aa543b34896fb3e677483 (diff)
downloadCMake-5bf6dba9e86b8686532b63f90c8f2f936c13020a.zip
CMake-5bf6dba9e86b8686532b63f90c8f2f936c13020a.tar.gz
CMake-5bf6dba9e86b8686532b63f90c8f2f936c13020a.tar.bz2
ENH: Patch from Maik to add Fortran03 USE syntax support.
- I tweaked the patch to add 'other' production rules for COMMA and DCOLON - See issue #6884.
Diffstat (limited to 'Source/cmDependsFortranLexer.in.l')
-rw-r--r--Source/cmDependsFortranLexer.in.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmDependsFortranLexer.in.l b/Source/cmDependsFortranLexer.in.l
index 45c07b6..8cbec27 100644
--- a/Source/cmDependsFortranLexer.in.l
+++ b/Source/cmDependsFortranLexer.in.l
@@ -147,6 +147,10 @@ $[ \t]*endif { return F90PPR_ENDIF; }
&([ \t\n]*|!.*)*
&([ \t\n]*|!.*)*&
+, { return COMMA; }
+
+:: { return DCOLON; }
+
<fixed_fmt>\n[ ]{5}[^ ] { return GARBAGE; }
=|=> { return ASSIGNMENT_OP; }