[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [updated PATCH] %language declaration
From: |
Joel E. Denny |
Subject: |
Re: [updated PATCH] %language declaration |
Date: |
Sat, 16 Dec 2006 16:37:23 -0500 (EST) |
On Sat, 16 Dec 2006, Paolo Bonzini wrote:
> > > If it wasn't for the language conventions, I would have kept the ".tab"
> > > even
> > > in the Java output, as I don't like to depart too much from the
> > > traditional
> > > Bison behavior.
> >
> > My feeling is that the community has already departed... look at Bison's own
> > parse-gram.c and parse-gram.h.
>
> Yes, but the community is still relying on Bison appending ".tab":
They're not yet relying on that behavior when using %language.
> if Bison
> started removing ".tab" *on its own*, Automake would break.
Automake's Yacc rules depend on Yacc's file name conventions not Bison's.
Thus, if you use Bison in Automake in this way, you specify -y. So, -y
should probably override %language for the output file names. Thanks for
mentioning this.
Akim and I once discussed how it would be nice if Automake supported Bison
directly. In that case, Automake could document what file names it
expects. It could choose the ".tab"-less convention I'm proposing so that
users would be encouraged to use %language.
- Re: [updated PATCH] %language declaration, (continued)
- Re: [updated PATCH] %language declaration, Paolo Bonzini, 2006/12/14
- Re: [updated PATCH] %language declaration, Paul Eggert, 2006/12/14
- Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/14
- Re: [updated PATCH] %language declaration, Paul Eggert, 2006/12/14
- Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/14
- Re: [updated PATCH] %language declaration, Paul Eggert, 2006/12/15
- Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/15
- Re: [updated PATCH] %language declaration, Paolo Bonzini, 2006/12/15
- Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/15
- Re: [updated PATCH] %language declaration, Paolo Bonzini, 2006/12/16
- Re: [updated PATCH] %language declaration,
Joel E. Denny <=
- Re: [updated PATCH] %language declaration, Paolo Bonzini, 2006/12/17
- Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/18
- Re: [updated PATCH] %language declaration, Paolo Bonzini, 2006/12/18
- Re: [updated PATCH] %language declaration, Paul Eggert, 2006/12/18
- Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/18
- Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/18
- Re: [SPAM] Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/14
- Re: [updated PATCH] %language declaration, Paul Eggert, 2006/12/18
- Re: [SPAM] Re: [updated PATCH] %language declaration, Joel E. Denny, 2006/12/18
- Re: [SPAM] Re: [updated PATCH] %language declaration, Paolo Bonzini, 2006/12/19