diff options
| author | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-09-24 18:47:51 -0400 |
|---|---|---|
| committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-09-24 18:47:51 -0400 |
| commit | 22e8cf4a89aeb9f0a31f8676f0ab177c28ab473f (patch) | |
| tree | 58c86cdf12889b0a8617b1b4ffce0de47128f4b9 /src/bytecode.c | |
| parent | 578098f346bf9e1f23ca86ed764fc00b035b427f (diff) | |
| download | emacs-22e8cf4a89aeb9f0a31f8676f0ab177c28ab473f.tar.gz | |
* src/bytecode.c (exec_byte_code): Signal an error instead of aborting,
when encountering an unknown bytecode.
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index 5f4fdcc5eff..648813aed86 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -1876,7 +1876,7 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth, /* Actually this is Bstack_ref with offset 0, but we use Bdup for that instead. */ /* CASE (Bstack_ref): */ - emacs_abort (); + error ("Invalid byte opcode"); /* Handy byte-codes for lexical binding. */ CASE (Bstack_ref1): |
