mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
tests/gpgscm: Nicer error message.
* tests/gpgscm/scheme.c (opexe_0): Include the value that we tried to evaluate as function-like in the error message. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
85e7fbcb73
commit
f617570339
@ -2679,7 +2679,7 @@ static pointer opexe_0(scheme *sc, enum scheme_opcodes op) {
|
||||
sc->dump = cont_dump(sc->code);
|
||||
s_return(sc,sc->args != sc->NIL ? car(sc->args) : sc->NIL);
|
||||
} else {
|
||||
Error_0(sc,"illegal function");
|
||||
Error_1(sc,"illegal function",sc->code);
|
||||
}
|
||||
|
||||
case OP_DOMACRO: /* do macro */
|
||||
|
Loading…
x
Reference in New Issue
Block a user