bug-bison
[Top][All Lists]
Advanced

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

Re: filenaming with .yxx extensions


From: Paul Eggert
Subject: Re: filenaming with .yxx extensions
Date: Thu, 28 Feb 2002 10:11:08 -0800 (PST)

> From: Ken Foskey <address@hidden>
> Date: 28 Feb 2002 22:12:52 +1100

> > bison -d -o .../rscyacc.yxx --defines=.../rscyacc.yxx.h rscyac.y
> 
> Problem with suggestion:
> 
> It does not run with bison 1.28 OO baseline  (try it).

OK, how about this instead?
  
  case `LC_ALL=C bison --defines=x 2>&1` in
  *'option `--defines'\'' doesn'\''t allow an argument'*)
    defines_option='';;
  *)
    defines_option='--defines=.../rscyacc.yxx.h';;
  esac
  bison $defines_option -d -o .../rscyacc.yxx rscyac.y

Admittedly it's a bit of a hack, but it should work around your
problem right now.



reply via email to

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