🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.c
Article #15427

Re: macro "subtile"

#15427
From: Eric Levenez
Date: Mon, 19 Sep 2005 17:09
28 lines
2060 bytes
Le 19/09/05 14:16, dans <432eac17$0$26356$626a14ce@news.free.fr>, ��Antoine
Leca�� <root@localhost.invalid> a �crit�:

> En <news:BF533661.457A7%new@levenez.com>, Eric Levenez va escriure:
>> 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 :
>>>>     parse_result = ma_fonction_de_parse(ses_args);
>>>>     if (parse_result < 0) {
>>>>         return parse_result; /* faire remonter l'erreur */
>>> 
>>> utiliser setjmp( ) et longjmp( ) ?
>> 
>> Arg ! Tout cela juste pour rendre encore plus illisible le code
> 
> Ou plus efficace ?

Pour placer dans la macro comme demand� pas l'OP, je ne pense pas. Mais si
c'est pour r��crire l'application en y repensant bien et en changeant de
m�thode, bien s�r.

-- 
�ric L�v�nez -- <http://www.levenez.com/>
Unix is not only an OS, it's a way of life.
Technical Details
Message-ID: <BF54BD53.45962%new@levenez.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!infeed-1.proxad.net!news18-e.free.fr!not-for-mail
References: <432d47bb$0$26362$626a14ce@news.free.fr> <432d6562$0$5389$8fcfb975@news.wanadoo.fr> <BF533661.457A7%new@levenez.com> <432eac17$0$26356$626a14ce@news.free.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!news1.google.com!news2.google.com!proxad.net!infeed-1.proxad.net!news18-e.free.fr!not-for-mail
User-Agent: Microsoft-Entourage/11.1.0.040913
Date: Mon, 19 Sep 2005 19:09:07 +0200
Subject: Re: macro "subtile"
From: Eric Levenez <new@levenez.com>
Newsgroups: fr.comp.lang.c
Message-ID: <BF54BD53.45962%new@levenez.com>
References: <432d47bb$0$26362$626a14ce@news.free.fr> <432d6562$0$5389$8fcfb975@news.wanadoo.fr> <BF533661.457A7%new@levenez.com> <432eac17$0$26356$626a14ce@news.free.fr>
Mime-version: 1.0
Content-type: text/plain;
 charset="ISO-8859-1"
Content-transfer-encoding: 8bit
Lines: 29
Organization: Guest of ProXad - France
NNTP-Posting-Date: 19 Sep 2005 19:09:07 MEST
NNTP-Posting-Host: 82.244.40.208
X-Trace: 1127149747 news18-e.free.fr 7876 82.244.40.208:50042
X-Complaints-To: abuse@proxad.net