summaryrefslogtreecommitdiffstats
path: root/src/fortranscanner.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-06-19 17:47:36 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-06-19 17:47:36 (GMT)
commita0db6fdbff2e21502bb2ac7437c5bd57d515d83b (patch)
treef15cb290aabd901dddf128efc56554627d57b188 /src/fortranscanner.l
parent4536982bdebc0056d0c5d64a12881f20b5801c06 (diff)
downloadDoxygen-a0db6fdbff2e21502bb2ac7437c5bd57d515d83b.zip
Doxygen-a0db6fdbff2e21502bb2ac7437c5bd57d515d83b.tar.gz
Doxygen-a0db6fdbff2e21502bb2ac7437c5bd57d515d83b.tar.bz2
Bug 796621 - @cond does not stop at @endcond Fortran
The backslash (\) is in Fortran not an escape character but was handled as such, this has been corrected. Handling of the different Fortran string types ('...' and "...") made more consistent.
Diffstat (limited to 'src/fortranscanner.l')
-rw-r--r--src/fortranscanner.l8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l
index d0503c2..884c86e 100644
--- a/src/fortranscanner.l
+++ b/src/fortranscanner.l
@@ -383,14 +383,6 @@ SCOPENAME ({ID}{BS}"::"{BS})*
/*------ ignore strings that are not initialization strings */
-<*>"\\\\" { if (yy_top_state() == Initialization
- || yy_top_state() == ArrayInitializer)
- initializer+=yytext;
- }
-<*>"\\\""|\\\' { if (yy_top_state() == Initialization
- || yy_top_state() == ArrayInitializer)
- initializer+=yytext;
- }
<String>\"|\' { // string ends with next quote without previous backspace
if (yytext[0]!=stringStartSymbol) { yyColNr -= (int)yyleng; REJECT; } // single vs double quote
if (yy_top_state() == Initialization