mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpgscm: Make error message more useful.
* tests/gpgscm/scheme.c (opexe_0): Include names of missing function parameters in the error message. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
1af2fd44f0
commit
7207b2fe45
1 changed files with 1 additions and 1 deletions
|
@ -2743,7 +2743,7 @@ static pointer opexe_0(scheme *sc, enum scheme_opcodes op) {
|
|||
for (x = car(closure_code(sc->code)), y = sc->args;
|
||||
is_pair(x); x = cdr(x), y = cdr(y)) {
|
||||
if (y == sc->NIL) {
|
||||
Error_0(sc,"not enough arguments");
|
||||
Error_1(sc, "not enough arguments, missing:", x);
|
||||
} else {
|
||||
new_slot_in_env(sc, car(x), car(y));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue