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: Paul Eggert
Subject: Re: warn about conflicting skeleton-generated files
Date: Wed, 13 Dec 2006 13:38:24 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

"Joel E. Denny" <address@hidden> writes:

> So, you're thinking that something like:
>
>   bison --skeleton-path=.
>
> would tell Bison to look for the skeleton file (declared with either 
> %skeleton or --skeleton) in the current directory?

Yes.  The argument to --skeleton-path would be a list of directory
names separated by ":", like PATH.

> your proposal just seems like a more verbose version of 
> mine.  To be fair, I'll assume -P is an abbreviation for --skeleton-path. 
> Now:
>
>   bison -P /some/path -S skel.c
>
> versus:
>
>   bison -S /some/path/skel.c

Sorry, I don't follow the "versus".

The --skeleton-path argument would affect not the interpretation of
absolute file names, so both forms would work under my proposal --
it's up to the user.  Similarly for the other example you gave.
This is similar to cc -I.




reply via email to

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