Tom Lane wrote:
> Bruno Wolff III <[EMAIL PROTECTED]> writes:
> > [ #elsif should be #elif ]
> 
> Yuck.  I wonder why gcc doesn't complain about this sort of thing?

I don't think gcc every sees it.  I think cpp should complain, but cpp
skips right over it because it is not in a block of code it has to worry
about.  In this example:
        
        #ifdef SDF
        #asdfasf
        #endif
        #lkjasdf

the first one doesn't generate a warning, while the second does.

This code got in there as part of the OpenBSD support for local ident,
either from the patch or my sloppy fingers.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to