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.
