projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
929049a
)
Better diagnostic message for unparseable macro error.
author
jbj
<devnull@localhost>
Thu, 8 Apr 1999 19:24:56 +0000
(19:24 +0000)
committer
jbj
<devnull@localhost>
Thu, 8 Apr 1999 19:24:56 +0000
(19:24 +0000)
CVS patchset: 2971
CVS date: 1999/04/08 19:24:56
lib/macro.c
patch
|
blob
|
history
rpmio/macro.c
patch
|
blob
|
history
diff --git
a/lib/macro.c
b/lib/macro.c
index
008ccfe
..
69bb641
100644
(file)
--- 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
(file)
--- 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;
}