bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remove unportable casts and storage allocation tricks fromBison


From: Bruno Haible
Subject: Re: remove unportable casts and storage allocation tricks fromBison
Date: Thu, 16 Jan 2003 21:51:32 +0100 (CET)

Akim wrote:

|       (CALLOC, MALLOC, REALLOC): New macros.
|       All uses of XCALLOC, XMALLOC, and XREALLOC changed to use these
|       new macros.
> If you think these macros are better, then they should probably make
> their way into xalloc.h, and therefore the gnulib.

Ouch, please not. Macros which do assignments should not be in general
use. Even if they are uppercased. Keep function-like semantics for
everything that looks like a function call!

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]