bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [updated PATCH] %language declaration


From: Paolo Bonzini
Subject: Re: [updated PATCH] %language declaration
Date: Mon, 18 Dec 2006 22:29:56 +0100
User-agent: Thunderbird 1.5.0.8 (Macintosh/20061025)


Then again, that's just a guess. I could be very wrong. When it comes to something as subjective as this, I sometimes wonder if we should just take a poll on help-bison... maybe after a few more developers give their opinions first.

My opinion is just that three different rules to give an output file name (%language, -y, default) are too much. And if it is hard to find a single place to document all three at once, it is "bad design" smell to me.

The main reason why Automake renames the file, AFAICT, is uniformity between MS and Unix platforms (the former include DJGPP where the ".tab" become "_tab"). The "mistake" to leave the ".tab" was made 15 years ago, and I don't see any urge to fix it; which is why I'm asking to commit the patch as posted, with the fixes that Paul requested.

Otherwise, since I don't have much time to pursue this matter further (for me it is just a way to make the Java skeleton easier to use), I'll do without this and post the Java skeleton patch; knowing of course that it is less neat to use Bison for Java parsers if you have to rename the output file anyway.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]