From 062257aee6b51deb6bfd64a5a9a3583cd333048c Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 23 Aug 2019 13:37:14 +0200 Subject: issue #7218 Doxygen parsing word documents making list consistent again. See also table in chapter "Getting Started" --- doc/starting.doc | 1 + src/config.xml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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" - + + + -- cgit v0.12 From 78564eab5a92c7c80397c0b55ea92ddb2bf5f29e Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 30 Aug 2019 19:48:31 +0200 Subject: Parsing `#` sign inserted by preprocessor in fixed Form Fortran In Fortran a file that is included is replaced by the doxygen preprocessor by something like: `# 11 "/" 2` when this is in fixed form Fortran and the `/` is long it is possible that the closing double quote is beyond position 72 and thus not seen resulting in: ``` Error in file / line: 73, state: 22(String) ``` this is caused as the `#` is not handled properly in prepassFixedForm. The `#` should be handled analogous to e.g. `C`. --- src/fortranscanner.l | 1 + 1 file changed, 1 insertion(+) 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 '*': -- cgit v0.12