Article View: fr.comp.lang.c
Article #15539Re: macro "subtile"
From: Eric Levenez
Date: Sun, 18 Sep 2005 13:21
Date: Sun, 18 Sep 2005 13:21
24 lines
1721 bytes
1721 bytes
Le 18/09/05 15:02, dans <432d6562$0$5389$8fcfb975@news.wanadoo.fr>,
��harpo�� <trashcan@hotmail.com> a �crit�:
> On Sun, 18 Sep 2005 12:56:51 +0200, Pierre Habouzit wrote:
>
>> j'ai donc souvent (� l'int�rieur de fonctions de parse) � �crire des trucs
>> du genre :
>>
>> int parse_result;
>>
>> parse_result = ma_fonction_de_parse(ses_args);
>> if (parse_result < 0) {
>> return parse_result; /* faire remonter l'erreur */
>> }
>> /* ... utilise �ventuellement parse_result */
>
> utiliser setjmp( ) et longjmp( ) ?
Arg ! Tout cela juste pour rendre encore plus illisible le code et encore
plus sujet aux effets de bord ? Le concours IOCCC est ouvert ?
--
�ric L�v�nez -- <http://www.levenez.com/>
Unix is not only an OS, it's a way of life.
Technical Details
Message-ID:
<BF533661.457A7%new@levenez.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!proxad.net!infeed-4.proxad.net!news18-e.free.fr!not-for-mailReferences:
<432d47bb$0$26362$626a14ce@news.free.fr> <432d6562$0$5389$8fcfb975@news.wanadoo.fr>Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,3560d64a4d94fc2b X-Google-Attributes: gidf9822,public X-Google-Language: FRENCH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!proxad.net!infeed-4.proxad.net!news18-e.free.fr!not-for-mail User-Agent: Microsoft-Entourage/11.1.0.040913 Date: Sun, 18 Sep 2005 15:21:05 +0200 Subject: Re: macro "subtile" From: Eric Levenez <new@levenez.com> Newsgroups: fr.comp.lang.c Message-ID: <BF533661.457A7%new@levenez.com> References: <432d47bb$0$26362$626a14ce@news.free.fr> <432d6562$0$5389$8fcfb975@news.wanadoo.fr> Mime-version: 1.0 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: 8bit Lines: 25 Organization: Guest of ProXad - France NNTP-Posting-Date: 18 Sep 2005 15:21:06 MEST NNTP-Posting-Host: 82.244.40.208 X-Trace: 1127049666 news18-e.free.fr 14836 82.244.40.208:54963 X-Complaints-To: abuse@proxad.net