diff options
| author | Stefan Monnier | 2012-09-24 18:47:51 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-09-24 18:47:51 -0400 |
| commit | 22e8cf4a89aeb9f0a31f8676f0ab177c28ab473f (patch) | |
| tree | 58c86cdf12889b0a8617b1b4ffce0de47128f4b9 /src/bytecode.c | |
| parent | 578098f346bf9e1f23ca86ed764fc00b035b427f (diff) | |
| download | emacs-22e8cf4a89aeb9f0a31f8676f0ab177c28ab473f.tar.gz emacs-22e8cf4a89aeb9f0a31f8676f0ab177c28ab473f.zip | |
* 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, | |||
| 1876 | /* Actually this is Bstack_ref with offset 0, but we use Bdup | 1876 | /* Actually this is Bstack_ref with offset 0, but we use Bdup |
| 1877 | for that instead. */ | 1877 | for that instead. */ |
| 1878 | /* CASE (Bstack_ref): */ | 1878 | /* CASE (Bstack_ref): */ |
| 1879 | emacs_abort (); | 1879 | error ("Invalid byte opcode"); |
| 1880 | 1880 | ||
| 1881 | /* Handy byte-codes for lexical binding. */ | 1881 | /* Handy byte-codes for lexical binding. */ |
| 1882 | CASE (Bstack_ref1): | 1882 | CASE (Bstack_ref1): |