summaryrefslogtreecommitdiffstats
path: root/Source/LexerParser/cmFortranParser.y
diff options
context:
space:
mode:
authorTiziano Müller <tiziano.mueller@chem.uzh.ch>2019-11-13 15:01:06 (GMT)
committerBrad King <brad.king@kitware.com>2019-11-13 16:30:19 (GMT)
commit154b8d1a279e42183a876bdd816c347ae9fe3829 (patch)
tree68ce5ebbc0c69bc47375ffef3d29d6230b18d584 /Source/LexerParser/cmFortranParser.y
parent34b7dbbfc37180989b57a0fb25ca4e0010cf992b (diff)
downloadCMake-154b8d1a279e42183a876bdd816c347ae9fe3829.zip
CMake-154b8d1a279e42183a876bdd816c347ae9fe3829.tar.gz
CMake-154b8d1a279e42183a876bdd816c347ae9fe3829.tar.bz2
Fortran: ignore CPP line directives in line-continued USE stmts
Issue: #18188
Diffstat (limited to 'Source/LexerParser/cmFortranParser.y')
-rw-r--r--Source/LexerParser/cmFortranParser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/LexerParser/cmFortranParser.y b/Source/LexerParser/cmFortranParser.y
index 87f3e0a..1b54dd9 100644
--- a/Source/LexerParser/cmFortranParser.y
+++ b/Source/LexerParser/cmFortranParser.y
@@ -244,6 +244,7 @@ misc_code:
| RPAREN
| COMMA
| UNTERMINATED_STRING
+| CPP_LINE_DIRECTIVE
;
%%