[Top][All Lists]
[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: |
Tue, 18 Dec 2001 18:00:21 -0800 (PST) |
> Date: Tue, 18 Dec 2001 08:26:27 +0100
> From: Hans Aberg <address@hidden>
> I do not see how you infer that the Yacc program must start the
> names in the generated parser with yy or YY
I think we're going around in circles here, but to repeat the argument:
A conforming program (in the .y file) can use whatever names it likes,
other than names beginning with yy or YY.
Yacc must support such programs.
To support those programs, yacc-generated names must be distinct from
user names.
Hence yacc must generate only names starting with yy or YY.
> or that names be visible to the preprocessor;
But all the names we're talking about are visible to the preprocessor.
> to me, it says that other programs
> should not use them as the Yacc program may use them.
That's another way of saying the same thing.
> Also, C++ isn't (I take it) part of POSIX, so whatever POSIX says
> about macros under C, it is not valid under C++.
True, but C++ is similar to C, and has similar problems with
preprocessor names. All other things being equal, it's simpler for
both users and maintainers if we treat the languages similarly.
- Re: Bison 1.30f, (continued)
- Re: Bison 1.30f, Paul Eggert, 2001/12/14
- Re: Bison 1.30f, Hans Aberg, 2001/12/15
- Re: Bison 1.30f, Akim Demaille, 2001/12/15
- Re: Bison 1.30f, Hans Aberg, 2001/12/15
- Re: Bison 1.30f, Hans Aberg, 2001/12/15
- Re: Bison 1.30f, Paul Eggert, 2001/12/17
- Re: Bison 1.30f, Paul Eggert, 2001/12/16
- Re: Bison 1.30f, Hans Aberg, 2001/12/16
- Re: Bison 1.30f, Paul Eggert, 2001/12/17
- Re: Bison 1.30f, Hans Aberg, 2001/12/18
- Re: Bison 1.30f,
Paul Eggert <=
- Re: Bison 1.30f, Hans Aberg, 2001/12/19
- Re: Bison 1.30f, Paul Eggert, 2001/12/19
- Re: Bison 1.30f, Hans Aberg, 2001/12/20
- Re: Bison 1.30f, Magnus Fromreide, 2001/12/20
- Re: Bison 1.30f, Hans Aberg, 2001/12/21
- Re: Bison 1.30f, Magnus Fromreide, 2001/12/21
- Re: Bison 1.30f, Hans Aberg, 2001/12/21
- Re: Bison 1.30f, Paul Eggert, 2001/12/20
- Re: Bison 1.30f, Hans Aberg, 2001/12/21
- Re: Bison 1.30f, Akim Demaille, 2001/12/14