From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Simplify internal_catch() Date: Wed, 28 Dec 2016 09:48:14 +0100 Message-ID: References: <87bmvwlfzo.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1482914919 16978 195.159.176.226 (28 Dec 2016 08:48:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Dec 2016 08:48:39 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.90 (gnu/linux) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Chris Gregory Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 28 09:48:33 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cM9uQ-00038C-0M for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2016 09:48:30 +0100 Original-Received: from localhost ([::1]:58271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cM9uU-0000zq-Fn for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2016 03:48:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cM9uM-0000zj-Ne for emacs-devel@gnu.org; Wed, 28 Dec 2016 03:48:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cM9uJ-0001OM-Nl for emacs-devel@gnu.org; Wed, 28 Dec 2016 03:48:26 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:35826) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cM9uJ-0001OG-GU for emacs-devel@gnu.org; Wed, 28 Dec 2016 03:48:23 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3tpRG829rYz3hjNt; Wed, 28 Dec 2016 09:48:16 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3tpRG81r5tzvkDF; Wed, 28 Dec 2016 09:48:16 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id CAJACv60JBLS; Wed, 28 Dec 2016 09:48:15 +0100 (CET) X-Auth-Info: G88J9cwVhQNEvC/7jE1+4TnomsiihZxHVZZHnDjILmNdGA4Y7Kb02OJXqpg5Co5c Original-Received: from linux.local (ppp-88-217-8-223.dynamic.mnet-online.de [88.217.8.223]) by mail.mnet-online.de (Postfix) with ESMTPA; Wed, 28 Dec 2016 09:48:15 +0100 (CET) Original-Received: by linux.local (Postfix, from userid 501) id 0F77C1E5468; Wed, 28 Dec 2016 09:48:14 +0100 (CET) X-Yow: If a person is FAMOUS in this country, they have to go on the ROAD for MONTHS at a time and have their name misspelled on the SIDE of a GREYHOUND SCENICRUISER!! In-Reply-To: <87bmvwlfzo.fsf@gmail.com> (Chris Gregory's message of "Wed, 28 Dec 2016 00:33:47 -0600") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210878 Archived-At: On Dez 28 2016, Chris Gregory 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, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."