diff options
author | albert-github <albert.tests@gmail.com> | 2020-10-30 17:50:34 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-10-30 17:50:34 (GMT) |
commit | 47c34e3d3ec7143ce69f53ef3a2c1ddcf6ab8065 (patch) | |
tree | 15493c59588f982005756cba28fd3c2d4942f27c /addon | |
parent | cbfc7f9e6a2532f58e736c2049b32bd231efade8 (diff) | |
download | Doxygen-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 'addon')
-rw-r--r-- | addon/doxywizard/config_doxyw.l | 3 |
1 files changed, 3 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+='"'; } |