[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bison-1_29-branch] Change location symbol.
From: |
akim |
Subject: |
Re: [bison-1_29-branch] Change location symbol. |
Date: |
Fri, 24 Aug 2001 16:41:57 +0200 |
User-agent: |
Mutt/1.3.20i |
On Fri, Aug 24, 2001 at 02:47:41PM +0000, Pascal Bart wrote:
>
> akim>Yes, we talked about something like this, but it was science fiction, not
> akim>computer science.
>
> I'm not sure, we talk about the same thing, you say, one guy wanted to be
> able to change the location symbol, and that could be nice to do it, so I
> did. This day, it wasn't science fiction, the question was not to use more
> language for the Bison's parser, but to help one brave guy to use Bison
> with Perl.
>
> I'm disappointed, you do not remember it, but probably I've misunderstood.
> :(
We misunderstand each other. I _do_ remember. It's just not the right
time, and it's not even sure we need it. I've thrown a lot of ideas,
which does not mean you have to implement them. Just keep them in mind
until someone says ``Hey! I need this, so it'd be cool if...''.
KISS.
Keep It Stupid Simple.
Don't be MacDonald, don't try to create a need people don't have.
If you do want something to work on, then I have something for you:
have bison recognize #line _in input_. Of course by no means shall
you do that on 1.29, but on the trunk.
Some people generate foo.y, with #line in it, from say `foo.z'. Then
they want bison to output sync lines relative to foo.z, not foo.y.