From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,634259facc42df7a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news2.google.com!news.germany.com!news.osn.de!diablo2.news.osn.de!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer2.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn_Persson?= User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Conditional compilation of debug traces without cpp References: <44aaae35$0$5389$626a54ce@news.free.fr> <873bdhgpdk.fsf@ludovic-brenta.org> <44aabe0c$0$5715$626a54ce@news.free.fr> <44aae100$0$5706$626a54ce@news.free.fr> In-Reply-To: <44aae100$0$5706$626a54ce@news.free.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <_yBqg.7715$E02.2269@newsb.telia.net> Date: Tue, 04 Jul 2006 22:01:30 GMT NNTP-Posting-Host: 83.250.106.238 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1152050490 83.250.106.238 (Wed, 05 Jul 2006 00:01:30 CEST) NNTP-Posting-Date: Wed, 05 Jul 2006 00:01:30 CEST Organization: Telia Internet Xref: g2news2.google.com comp.lang.ada:5500 Date: 2006-07-04T22:01:30+00:00 List-Id: guillaume.portail@grospied.enanglais.com wrote: > Bj�rn Persson wrote: >> Well, there is always the good old if statement: > > This complicates the code (the McCabe numbers), it is better to have the > if statement encapsulated. I see. So you're looking for a trick to do the same thing in a more convoluted way so that the McCabe thingy won't notice it. :-) -- Bj�rn Persson PGP key A88682FD omb jor ers @sv ge. r o.b n.p son eri nu