diff options
author | Brad King <brad.king@kitware.com> | 2008-04-24 03:53:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-04-24 03:53:20 (GMT) |
commit | 5bf6dba9e86b8686532b63f90c8f2f936c13020a (patch) | |
tree | 146b3584d56cb8aa8320da96027344b3b2478087 /Source/cmDependsFortranLexer.in.l | |
parent | 4cf167173fb3b3d3da4aa543b34896fb3e677483 (diff) | |
download | CMake-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.l | 4 |
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; } |