summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/starting.doc1
-rw-r--r--src/config.xml4
-rw-r--r--src/fortranscanner.l1
3 files changed, 5 insertions, 1 deletions
diff --git a/doc/starting.doc b/doc/starting.doc
index f9ae9a2..154cc03 100644
--- a/doc/starting.doc
+++ b/doc/starting.doc
@@ -128,6 +128,7 @@ Extension | Language | Extension | Language | Extension | Language
.hpp |C / C++ | | | | |
.h++ |C / C++ | | | | |
.mm |C / C++ | | | | |
+.txt |C / C++ | | | | |
Any other extension is not parsed unless it is added to
\ref cfg_file_patterns "FILE_PATTERNS" and the appropriate
diff --git a/src/config.xml b/src/config.xml
index e68b3d7..d206203 100644
--- a/src/config.xml
+++ b/src/config.xml
@@ -1404,7 +1404,9 @@ FILE_VERSION_FILTER = "cleartool desc -fmt \%Vn"
<value name='*.markdown'/>
<value name='*.md'/>
<value name='*.mm'/>
- <value name='*.dox'/>
+ <value name='*.dox' desc='(to be provided as doxygen C comment)'/>
+ <value name='*.doc' desc='(to be provided as doxygen C comment)'/>
+ <value name='*.txt' desc='(to be provided as doxygen C comment)'/>
<value name='*.py'/>
<value name='*.pyw'/>
<value name='*.f90'/>
diff --git a/src/fortranscanner.l b/src/fortranscanner.l
index ea75836..1699c1d 100644
--- a/src/fortranscanner.l
+++ b/src/fortranscanner.l
@@ -1654,6 +1654,7 @@ const char* prepassFixedForm(const char* contents, int *hasContLine)
}
inBackslash = FALSE;
// fallthrough
+ case '#':
case 'C':
case 'c':
case '*':