bison-patches
[Top][All Lists]
Advanced

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

Re: warn about conflicting skeleton-generated files


From: Joel E. Denny
Subject: Re: warn about conflicting skeleton-generated files
Date: Wed, 13 Dec 2006 14:43:39 -0500 (EST)

On Wed, 13 Dec 2006, Hans Aberg wrote:

> On 13 Dec 2006, at 03:35, Joel E. Denny wrote:
> 
> > I think it would be useful if Bison were to recognize three forms of
> > skeleton paths:
> > 
> > 1. "/root/path"
> > 2. "./cwd/path"
> > 3. "path/relative/to/install"
> > 
> > It looks straight-forward to implement: don't prepend pkgdatadir for the
> > first two forms.
> > 
> > Thoughts?
> 
> I am not sure what I asked for :-), because in Bison 2.3a, those forms seem to
> already work.

Really?  Not for me:

  % ~/installs/bison/2.3a/bin/bison --skeleton="/tmp.m4" tmp.y
  /usr/local/bin/m4: /home/jdenny/installs/bison/2.3a/share/bison//tmp.m4: No 
such file or directory
  /home/jdenny/installs/bison/2.3a/bin/bison: subsidiary program 
`/usr/local/bin/m4' failed (exit status 1)

  % ~/installs/bison/2.3a/bin/bison --skeleton="./tmp.m4" tmp.y
  /usr/local/bin/m4: /home/jdenny/installs/bison/2.3a/share/bison/./tmp.m4: No 
such file or directory
  /home/jdenny/installs/bison/2.3a/bin/bison: subsidiary program 
`/usr/local/bin/m4' failed (exit status 1)





reply via email to

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