[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glr.c: Token definitions
From: |
Joel E. Denny |
Subject: |
Re: glr.c: Token definitions |
Date: |
Fri, 23 Sep 2005 03:53:33 -0400 (EDT) |
I attempted to post this message earlier, but it was rejected....
On Thu, 22 Sep 2005, Joel E. Denny wrote:
> If you were to add native bison support to autotools, how would automake
> know when you need yacc and when you need bison? What if you need both?
Perhaps this is an unlikely scenario. I really wouldn't know. I do know
that I've never needed both.
Assuming that scenario is unlikely, instead of changing autotools,
consider changing bison. The user who wants to use autotool's lex and
yacc features but who wants to remove the #define's could do the
following. AC_PATH_PROG(YACC,bison) would ensure that bison is found.
Then the user could just add something like `--yacc=file-names' to YACC.
For now, `--yacc=file-names,token-defines' would be equivalent to `-y' or
`--yacc'.
Joel
- Re: glr.c: Token definitions, (continued)
- Re: glr.c: Token definitions, Paul Eggert, 2005/09/19
- Re: glr.c: Token definitions, Joel E. Denny, 2005/09/19
- Re: glr.c: Token definitions, Paul Eggert, 2005/09/20
- Re: glr.c: Token definitions, Akim Demaille, 2005/09/21
- Re: glr.c: Token definitions, Joel E. Denny, 2005/09/21
- Re: glr.c: Token definitions, Akim Demaille, 2005/09/21
- Re: glr.c: Token definitions, Paul Eggert, 2005/09/21
- Re: glr.c: Token definitions, Joel E. Denny, 2005/09/23
- Re: glr.c: Token definitions,
Joel E. Denny <=
- Re: glr.c: Token definitions, Joel E. Denny, 2005/09/21
Re: glr.c: Token definitions, Akim Demaille, 2005/09/20