bug-bison
[Top][All Lists]
Advanced

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

Re: Bison 1.30f


From: Paul Eggert
Subject: Re: Bison 1.30f
Date: Wed, 12 Dec 2001 18:05:13 -0800 (PST)

> Date: Wed, 12 Dec 2001 23:16:31 +0100
> From: Hans Aberg <address@hidden>
> 
> EOF and NULL are C/C++ preprocessor macros, and thus do not even exist by
> the time the C++ compiler start looking at the code: Thus they do not have
> anything to do with namespaces, which is a C++ construct.

I was using "name space" in the more traditional sense: any set of
identifiers that the user can control.  C has multiple name spaces;
one for macros, one for struct tags, one for enum tags, etc.  C++ has
more.

In this sense, including <cstddef> does seem to infringe on the user
name space, since it defines preprocessor macros that do not begin
with yy or YY.



reply via email to

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