Re: --output and %output options

2009-08-01 Thread Joel E. Denny
On Sat, 1 Aug 2009, tys lefering wrote: > Would it not be better if the commandline options --output and > --defines override the settings from %output and %defines in the > grammar ? Yes. We've had many discussions about fixing that, but we've never done so. One problem is backward compatibil

--output and %output options

2009-08-01 Thread tys lefering
Hi, Running bison-2.4.1 from a script and using commandline options --output=file.c and --defines=file.h to know where the output is, it appears that if there are %output or %defines statements in the input grammar the output is written to other files. Would it not be better if the commandline opt