summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-10-30 18:41:19 (GMT)
committerGitHub <noreply@github.com>2020-10-30 18:41:19 (GMT)
commit59d6a39b1c14ccf7477c50af56e45de51be1a054 (patch)
tree628159fa729156f1ae4357521c6fe020ea62d444
parent7bd4455f4fb17075eb23f5f24a5735913cde3e16 (diff)
parent47c34e3d3ec7143ce69f53ef3a2c1ddcf6ab8065 (diff)
downloadDoxygen-59d6a39b1c14ccf7477c50af56e45de51be1a054.zip
Doxygen-59d6a39b1c14ccf7477c50af56e45de51be1a054.tar.gz
Doxygen-59d6a39b1c14ccf7477c50af56e45de51be1a054.tar.bz2
Merge pull request #8146 from albert-github/feature/issue_8144
issue #8144 Problem with `\\` at end of an ALIASES in the configuration file
-rw-r--r--addon/doxywizard/config_doxyw.l3
-rw-r--r--src/configimpl.l3
2 files changed, 6 insertions, 0 deletions
diff --git a/addon/doxywizard/config_doxyw.l b/addon/doxywizard/config_doxyw.l
index 554571f..d85de12 100644
--- a/addon/doxywizard/config_doxyw.l
+++ b/addon/doxywizard/config_doxyw.l
@@ -396,6 +396,9 @@ static void readIncludeFile(const QString &incName)
}
BEGIN(g_lastState);
}
+<GetQuotedString>("\\\\"|"@\\"|"\\@"|"@@") {
+ g_tmpString+=yytext;
+ }
<GetQuotedString>"\\\"" {
g_tmpString+='"';
}
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+='"';
}