summaryrefslogtreecommitdiffstats
path: root/src/configimpl.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-10-30 17:50:34 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-10-30 17:50:34 (GMT)
commit47c34e3d3ec7143ce69f53ef3a2c1ddcf6ab8065 (patch)
tree15493c59588f982005756cba28fd3c2d4942f27c /src/configimpl.l
parentcbfc7f9e6a2532f58e736c2049b32bd231efade8 (diff)
downloadDoxygen-47c34e3d3ec7143ce69f53ef3a2c1ddcf6ab8065.zip
Doxygen-47c34e3d3ec7143ce69f53ef3a2c1ddcf6ab8065.tar.gz
Doxygen-47c34e3d3ec7143ce69f53ef3a2c1ddcf6ab8065.tar.bz2
Problem with `\\` at end of an ALIASES in the configuration file
In principle a configuration file should not know anything about the doxygen commands, but the handling of the escaped `\` and `@` are an exception of this rule (especially in `ALIASES`). The mentioned escaped characters were not handled properly.
Diffstat (limited to 'src/configimpl.l')
-rw-r--r--src/configimpl.l3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/configimpl.l b/src/configimpl.l
index ed23a12..6a527f9 100644
--- a/src/configimpl.l
+++ b/src/configimpl.l
@@ -922,6 +922,9 @@ static void readIncludeFile(const char *incName)
}
BEGIN(g_lastState);
}
+<GetQuotedString>("\\\\"|"@\\"|"\\@"|"@@") {
+ g_tmpString+=yytext;
+ }
<GetQuotedString>"\\\"" {
g_tmpString+='"';
}