From d269f239d7af8d3bd762abfd6a8557cd2d898eab Mon Sep 17 00:00:00 2001 From: albert-github Date: Sat, 5 Oct 2019 13:08:50 +0200 Subject: 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. --- src/configimpl.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v0.12