help-flex
[Top][All Lists]
Advanced

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

Re: why are locations dictated by bison?


From: Akim Demaille
Subject: Re: why are locations dictated by bison?
Date: 14 Jan 2002 14:24:06 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

>>>>> "John" == John W Millaway <address@hidden> writes:

>> I suggest that you show me how you can simplify the following
>> location tracking scanner, so that we can really compare the two
>> methods.
>> 
>> Oh, watch out: here I use a C++ class to compute locations.  One
>> location is composed of two Positions.  Of course, Flex must let me
>> do that, just like Bison let's me use a C++ class here.

John> Here's how: Get rid of those macros and let flex do the location
John> tracking its own way. Use flex's struct in your parser, or copy
John> flex's location data into your custom location data.

I am asking for some code.  You are still speaking about air.



reply via email to

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