Tony Finch wrote:
> > With just an "&" or an "|", you actually need a much less complicated
> > state machine to evaluate a constant expression.  With the "||"/"&&",
> > you almost have to do an edge associative operation, which implies a
> > much more complex state machine for the preprocessor, I think.
> 
> No -- the short-circuiting behaviour of && and || only matters if
> you can have side-effects, which you can't in the preprocessor,
> so there is no need to implement it (unifdef doesn't).

Consider:

#if _DEFINED_SUPPORTED  && defined(SOMETHING)

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to