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: Hans Aberg
Subject: Re: warn about conflicting skeleton-generated files
Date: Wed, 13 Dec 2006 09:59:40 +0100

On 13 Dec 2006, at 03:35, Joel E. Denny wrote:

Another problem, somehwat irritating, is that Biosn does not know how to parse the filepaths of the skeleton files. So if I write my own, and put it in the
project in the home directory, I need to write things like:
  bison --skeleton=../../../../Users/myself/Development/MLI/sources/
Parser/my_lalr1.cc
even if Bison is invoked form the last directory.

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.

  Hans Aberg






reply via email to

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