[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Simplify internal_catch()
From: |
Andreas Schwab |
Subject: |
Re: Simplify internal_catch() |
Date: |
Wed, 28 Dec 2016 09:48:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.90 (gnu/linux) |
On Dez 28 2016, Chris Gregory <address@hidden> wrote:
> + Lisp_Object val = (sys_setjmp (c->jmp)
> + /* Call FUNC */
> + ? func (arg)
> + /* Throw works by a longjmp that comes here,
> + setting this side */
> + : handlerlist->val);
setjmp is very special, it can only be used in the entire controlling
expression of a selection or iteration statement.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."