help-flex
[Top][All Lists]
Advanced

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

Re: Remembering tokens


From: Hans Aberg
Subject: Re: Remembering tokens
Date: Fri, 7 Mar 2003 11:07:11 +0100

At 10:42 +0530 2003/03/07, Ramaswamy wrote:
>    Hi,     I wanted to know if there is a  way of remembering the
>previous token matched for use in a lex rule. I wanted to  use this for
>context dependent things and I dont want to use bison since I need  this
>method to resolve some ambiguities that Bison has. Kindly advise.

I don't think so: The previous token is sometimes needed for sorting out
which type of operator and such. When doing that, I had to add the feature
by hand.

>---------------------
>Information contained and  transmitted by this E-MAIL is proprietary to
>Synergy Infotech Private Limited  and is intended for use only by the
>individual or entity to which it is  addressed, and may contain information
>that is privileged, confidential or  exempt from disclosure under applicable
>law. If this is a forwarded message,  the content of this E-MAIL may not have
>been sent with the authority of the  Company. If you are not the intended
>recipient, an agent of the intended  recipient or a  person responsible for
>delivering the information to the  named recipient,  you are notified that any
>use, distribution,  transmission, printing, copying or dissemination of this
>information in any  way or in any manner is strictly prohibited. We have taken
>precautions to  minimize the risk of transmitting software viruses, but we
>advise you to  carry out your own virus checks on any attachment to this
>message. We cannot  accept liability for any loss or damage caused by software
>viruses. If you  have received this communication in error, please delete this
>mail &  notify us immediately at
>mailto:address@hidden


  Hans Aberg

********************* Copyright notice **********************
* Anyone reading this letter must send the originator $500. *
*************************************************************






reply via email to

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