From 0c661892d459501ef82b1ccd88c7ea4b0c24fc20 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 1 May 2013 02:08:43 +0200 Subject: [PATCH] BPackageInfo::Parser: Fix error output The "=" operator isn't actually allowed in a resolvable expression. It has to be "==" instead. --- src/kits/package/PackageInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/package/PackageInfo.cpp b/src/kits/package/PackageInfo.cpp index 430bef12cf..7175b684a4 100644 --- a/src/kits/package/PackageInfo.cpp +++ b/src/kits/package/PackageInfo.cpp @@ -744,8 +744,8 @@ BPackageInfo::Parser::_ParseResolvableExprList( parser._RewindTo(op); } else { throw ParseError( - "expected '<', '<=', '=', '==', '!=', '>=', '>', comma or " - "'}'", op.pos); + "expected '<', '<=', '==', '!=', '>=', '>', comma or '}'", + op.pos); } BPackageResolvableOperator resolvableOperator