summaryrefslogtreecommitdiffstats
path: root/src/fortranscanner.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2014-04-21 18:04:00 (GMT)
committeralbert-github <albert.tests@gmail.com>2014-04-21 18:04:00 (GMT)
commitf083109de116ee2c6e2a31a15ebc17d2dff008e0 (patch)
tree18324cb2550b9dc27e4777d5e51d1089b9cd0e73 /src/fortranscanner.l
parentcf591d2e4cd80664121cba7e69cf4a11996486cb (diff)
downloadDoxygen-f083109de116ee2c6e2a31a15ebc17d2dff008e0.zip
Doxygen-f083109de116ee2c6e2a31a15ebc17d2dff008e0.tar.gz
Doxygen-f083109de116ee2c6e2a31a15ebc17d2dff008e0.tar.bz2
Bug 623299 - Fortran: quotation after define causes error
For the determination whether the file is free or fixed formatted code just see lines starting with # as comment lines
Diffstat (limited to 'src/fortranscanner.l')
-rw-r--r--src/fortranscanner.l3
1 files changed, 3 insertions, 0 deletions
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 '*':