www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/2000/07/06/21:48:53

Date: Fri, 7 Jul 2000 03:47:21 +0200
From: Marc Lehmann <pcg AT goof DOT com>
To: pgcc AT delorie DOT com
Subject: Re: What's up with this??
Message-ID: <20000707034721.C19257@cerebro.laendle>
Mail-Followup-To: Marc Lehmann <pcg AT goof DOT com>, pgcc AT delorie DOT com
References: <D1674834F25BD3118B3208002BB90CD450DEBF AT yen DOT crl DOT dec DOT com> <3964C164 DOT 22648267 AT mira DOT net> <094001bfe77c$a0314e10$4f0cf5d1 AT wt DOT net>
Mime-Version: 1.0
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

On Thu, Jul 06, 2000 at 01:01:42PM -0600, RH <rdh AT wt DOT net> 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                       |
                                                         |

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019