summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/parser
diff options
context:
space:
mode:
authorPeter Hartmann <peter.hartmann@nokia.com>2009-11-12 10:44:54 (GMT)
committerPeter Hartmann <peter.hartmann@nokia.com>2009-11-13 13:05:07 (GMT)
commit56f4d1256e8ef3a31c3664822b31cd6712a965f1 (patch)
tree8239878623a792294e1fde6d2222f04b9271ebc7 /src/xmlpatterns/parser
parentdbcfac879e8a1ee6ba882585872c5913c131957a (diff)
downloadQt-56f4d1256e8ef3a31c3664822b31cd6712a965f1.zip
Qt-56f4d1256e8ef3a31c3664822b31cd6712a965f1.tar.gz
Qt-56f4d1256e8ef3a31c3664822b31cd6712a965f1.tar.bz2
xmlpatterns: unify error messages in generator and generated file
An error message was changed in a cpp file, and this patch changes it also in the file it is generated from. Reviewed-by: Frans Englich
Diffstat (limited to 'src/xmlpatterns/parser')
-rw-r--r--src/xmlpatterns/parser/querytransformparser.ypp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/parser/querytransformparser.ypp b/src/xmlpatterns/parser/querytransformparser.ypp
index 45dc773..562d245 100644
--- a/src/xmlpatterns/parser/querytransformparser.ypp
+++ b/src/xmlpatterns/parser/querytransformparser.ypp
@@ -870,7 +870,7 @@ static void variableUnavailable(const QXmlName &variableName,
const ParserContext *const parseInfo,
const YYLTYPE &location)
{
- parseInfo->staticContext->error(QtXmlPatterns::tr("No variable by name %1 exists")
+ parseInfo->staticContext->error(QtXmlPatterns::tr("No variable with name %1 exists")
.arg(formatKeyword(parseInfo->staticContext->namePool(), variableName)),
ReportContext::XPST0008, fromYYLTYPE(location, parseInfo));
}