From: jbj Date: Thu, 8 Apr 1999 19:24:56 +0000 (+0000) Subject: Better diagnostic message for unparseable macro error. X-Git-Tag: rpm-4.4-release~2948 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90ac221132dbb8f410a7ecaf08497edb6809e9c1;p=platform%2Fupstream%2Frpm.git Better diagnostic message for unparseable macro error. CVS patchset: 2971 CVS date: 1999/04/08 19:24:56 --- diff --git a/lib/macro.c b/lib/macro.c index 008ccfe..69bb641 100644 --- a/lib/macro.c +++ b/lib/macro.c @@ -902,7 +902,7 @@ expandMacro(MacroBuf *mb) fn = (fe - f); gn = (ge - g); if (fn <= 0) { - rpmError(RPMERR_BADSPEC, _("Empty token")); + rpmError(RPMERR_BADSPEC, _("A %% is followed by an unparseable macro")); s = se; continue; } diff --git a/rpmio/macro.c b/rpmio/macro.c index 008ccfe..69bb641 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -902,7 +902,7 @@ expandMacro(MacroBuf *mb) fn = (fe - f); gn = (ge - g); if (fn <= 0) { - rpmError(RPMERR_BADSPEC, _("Empty token")); + rpmError(RPMERR_BADSPEC, _("A %% is followed by an unparseable macro")); s = se; continue; }