diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-01-13 20:27:29 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-01-13 20:27:29 +0100 |
commit | 04eadf6aa5717beefa9c45009bfdc26853f0f993 (patch) | |
tree | 53d9507854fa123e6e62b199c7785639d943e6eb /debian/patches/0010-bootshell-improve-error-message.patch | |
parent | 5cbde253d36a6d9d65a81cae6961ac4fb4ef5be8 (diff) |
add patch series
Diffstat (limited to 'debian/patches/0010-bootshell-improve-error-message.patch')
-rw-r--r-- | debian/patches/0010-bootshell-improve-error-message.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/0010-bootshell-improve-error-message.patch b/debian/patches/0010-bootshell-improve-error-message.patch new file mode 100644 index 00000000..e50ae6b5 --- /dev/null +++ b/debian/patches/0010-bootshell-improve-error-message.patch @@ -0,0 +1,27 @@ +From b8f9d298d11406d200a1e525166bc8c6674ff611 Mon Sep 17 00:00:00 2001 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +Date: Tue, 13 Jan 2015 17:16:46 +0100 +Subject: [PATCH hurd 10/10] bootshell: improve error message + +* bootshell/scheme.c (opexe_0): Mention the expression in the error +message. +--- + bootshell/scheme.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bootshell/scheme.c b/bootshell/scheme.c +index 5ca5641..6f583f5 100644 +--- a/bootshell/scheme.c ++++ b/bootshell/scheme.c +@@ -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 */ +-- +2.1.4 + |