On 30 Mar 2012, at 20:15, Paul Eggert wrote:

> On 03/30/2012 07:38 AM, Akim Demaille wrote:
> 
>> I am explicitly expecting NULL to be defined for C
> 
> That's not a portable assumption, since NULL is defined in
> include files like <stddef.h>, and the C parsers try to avoid
> including <stddef.h> etc. in order to keep the name-space as
> clean as possible.  

That would not help, because size_t is used, which is in the same header.

> At least, yacc.c does that; I didn't check
> the others.

H&S says that before ISO C, it could be in a different header or defined 0. 
Perhaps yacc sticks to those old conventions.

Hans



Reply via email to