Date: Fri, 7 Jul 2000 03:47:21 +0200 From: Marc Lehmann To: pgcc AT delorie DOT com Subject: Re: What's up with this?? Message-ID: <20000707034721.C19257@cerebro.laendle> Mail-Followup-To: Marc Lehmann , pgcc AT delorie DOT com References: <3964C164 DOT 22648267 AT mira DOT net> <094001bfe77c$a0314e10$4f0cf5d1 AT wt DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.1i In-Reply-To: <094001bfe77c$a0314e10$4f0cf5d1@wt.net>; from rdh@wt.net on Thu, Jul 06, 2000 at 01:01:42PM -0600 X-Operating-System: Linux version 2.2.15 (root AT cerebro) (gcc version 2.95.1 19990816 (release)) Reply-To: pgcc AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, Jul 06, 2000 at 01:01:42PM -0600, RH wrote: > Consider a macro like this: > > #define doit() { call_something(); call_something_else(); } > > if () > doit(); else 1; > > Becomes > if () > { call_something(); call_something_else();}; else 1; unexpected parse error! -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg AT opengroup DOT org |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |