help-bison
[Top][All Lists]
Advanced

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

Re: Parsing help


From: Hans Aberg
Subject: Re: Parsing help
Date: Tue, 17 Feb 2004 18:49:20 +0100

At 12:37 +0530 2004/02/17, Sriram Bhamidipati wrote:
>The result should be that I be able to store the Route Name with the values
>(Route Name is E, ES, "ER TF" etc
>when I do strcpy, I am getting the result of the next token and not the
>current token
>Can someone suggest a change in grammar ? Or explain whats the mistake ?

This is probably one of the most frequently asked questions on this list:
You probably use a Flex generated lexer, and do no copy the strings it
identifies in its buffer into a newly allocated memory spot.

># define        I_ROUTE 257

This also looks strange. What's that?

  Hans Aberg






reply via email to

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