summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-10-05 11:08:50 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-10-05 11:08:50 (GMT)
commitd269f239d7af8d3bd762abfd6a8557cd2d898eab (patch)
treeaa145c99b18c6dfd030cb1c4cb32cb154e57413a /src
parent4e21d19cf63b17aadb62905535262deb208a0c73 (diff)
downloadDoxygen-d269f239d7af8d3bd762abfd6a8557cd2d898eab.zip
Doxygen-d269f239d7af8d3bd762abfd6a8557cd2d898eab.tar.gz
Doxygen-d269f239d7af8d3bd762abfd6a8557cd2d898eab.tar.bz2
Incorrect warning for ALIASES
In case we have an alias in the form: `mine_err(1)=\1` we get the warning: ``` error: Illegal alias format 'mine_err(1)=\1'. Use "name=value" or "name(n)=value", where n is the number of arguments ``` Note the round brackets in the explanation., these have to be curly brackets.
Diffstat (limited to 'src')
-rw-r--r--src/configimpl.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configimpl.l b/src/configimpl.l
index e657745..0cc5c88 100644
--- a/src/configimpl.l
+++ b/src/configimpl.l
@@ -1495,7 +1495,7 @@ void Config::checkAndCorrect()
alias=alias.stripWhiteSpace();
if (alias.find(re1)!=0 && alias.find(re2)!=0)
{
- err("Illegal alias format '%s'. Use \"name=value\" or \"name(n)=value\", where n is the number of arguments\n",
+ err("Illegal alias format '%s'. Use \"name=value\" or \"name{n}=value\", where n is the number of arguments\n",
alias.data());
}
s=aliasList.next();