summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-04-21 18:14:24 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-04-21 18:14:24 (GMT)
commit3535e205764fc04b88534d0c486b1c29fafbad09 (patch)
treeacf62681f5f0023d6ace7bce594d934545ff69eb
parent49e4754186150eadc7e3eae4a2dbc282be8d213e (diff)
parentf083109de116ee2c6e2a31a15ebc17d2dff008e0 (diff)
downloadDoxygen-3535e205764fc04b88534d0c486b1c29fafbad09.zip
Doxygen-3535e205764fc04b88534d0c486b1c29fafbad09.tar.gz
Doxygen-3535e205764fc04b88534d0c486b1c29fafbad09.tar.bz2
Merge pull request #159 from albert-github/feature/bug_623699
Bug 623299 - Fortran: quotation after define causes error
-rw-r--r--src/fortrancode.l3
-rw-r--r--src/fortranscanner.l3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/fortrancode.l b/src/fortrancode.l
index c31080b..2fbde73 100644
--- a/src/fortrancode.l
+++ b/src/fortrancode.l
@@ -173,6 +173,9 @@ static bool recognizeFixedForm(const char* contents, FortranFormat format)
break;
case ' ':
break;
+ case '#':
+ skipLine=TRUE;
+ break;
case '\000':
return FALSE;
case 'C':
diff --git a/src/fortranscanner.l b/src/fortranscanner.l
index f6616ad..449b05d 100644
--- a/src/fortranscanner.l
+++ b/src/fortranscanner.l
@@ -1333,6 +1333,9 @@ static bool recognizeFixedForm(const char* contents, FortranFormat format)
break;
case '\000':
return FALSE;
+ case '#':
+ skipLine=TRUE;
+ break;
case 'C':
case 'c':
case '*':