"Joel E. Denny" <[EMAIL PROTECTED]> 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