[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reserved name classes
From: |
Paul Eggert |
Subject: |
Re: Reserved name classes |
Date: |
22 Jan 2003 01:46:34 -0800 |
Akim Demaille <address@hidden> writes:
> What _is_ easy is remapping "state" to "a_state". But how will you
> restore all the "s" back into "state"?
It won't be that hard. Most occurrences of "s" in the Bison code
proper are states. I just took a quick look, and the only exceptions
that I found were in system.h, uniqstr.[ch], and vcg.c, which don't
count really; a few places in lalr.c, state.h, and tables.c where
state numbers are called 's'; one or two places in state.c where
symbol numbers are called s; and a few places in gram.h where s is
either a token or a var number. (These weren't all my "s"s, by the
way; I fear that some of the "s"s in the old code escaped your earlier
dragnet. :-)
Anyway, let's not worry about how much work it is. I can do the work;
it's really not that hard. Let's just worry about what the
conventions should be.
- Re: POSIX_ME_HARDER (Was: Bison patch for POSIX and Yacc compatibility with %union), (continued)
- Re: POSIX_ME_HARDER (Was: Bison patch for POSIX and Yacc compatibility with %union), Paul Eggert, 2003/01/16
- Re: %union foo bar baz and others { ... }, Akim Demaille, 2003/01/19
- Re: %union foo bar baz and others { ... }, Paul Eggert, 2003/01/20
- Re: %union foo bar baz and others { ... }, Akim Demaille, 2003/01/21
- Re: %union foo bar baz and others { ... }, Paul Eggert, 2003/01/22
- Re: %union foo bar baz and others { ... }, Akim Demaille, 2003/01/22
- Re: %union foo bar baz and others { ... }, Paul Eggert, 2003/01/22
- Re: ending ; (Was: POSIX_ME_HARDER), Akim Demaille, 2003/01/21
- Re: ending ; (Was: POSIX_ME_HARDER), Paul Eggert, 2003/01/22
- Re: Reserved name classes, Akim Demaille, 2003/01/21
- Re: Reserved name classes,
Paul Eggert <=
- Re: Paul and I (Was: POSIX_ME_HARDER), Akim Demaille, 2003/01/22