[Top][All Lists]

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

Re: Bison 1.28b (fwd)

From: Hans Aberg
Subject: Re: Bison 1.28b (fwd)
Date: Sat, 4 Aug 2001 20:51:04 +0200

At 20:09 +0000 2001/08/04, marc-alexandre autret wrote:
> Hans: If you want to give a different extension than the grammar file, use
>  ``-o'' :)

This does not work, as --output-file Parser.cc will produce files Parser.cc
and Parser.hh, --output-file Parser.cp will produce files Parser.cp and
Parser.hp, etc. Why should one be restricted to those combinations?

Besides, this argument could be applied to remove the .yy feature.

At 19:44 +0200 2001/08/04, Axel Kittenberger wrote:
>> But this is the problem: I want to use .y, but be able to choose output
>> source and header file extensions independently.
>How about in example grammar.c.y and grammar.cc.y? That would theoretically
>allow just any language.

I think the question is: Why do people want to use the .yy extension? That
is, is it dictated by some functional aspect, like that it is needed in
order for "make" to being handle it properly or something?

  Hans Aberg

reply via email to

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