help-bison
[Top][All Lists]
Advanced

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

[Fwd: question about error handling]


From: Latha G
Subject: [Fwd: question about error handling]
Date: Fri, 04 Oct 2002 12:33:52 +0000

Hi,
I am also struggling with the same problem as Ashish. I had gone through the set of responses for this problem. But still I have not got the solution. Could anybody help me to solve the memory leak problem in C?

Thanks in Advance

Regards,
Latha.G



------- Original Message --------
Subject: question about error handling
Date: Thu, 07 Jun 2001 11:12:34 -0400
From: ashish sehgal <<EMAIL: PROTECTED>>
To: <EMAIL: PROTECTED>

HI,

I have the following question about bison:--

When the bison generated parser encounters an error in the input
expression and there is no error recovery grammar then the forrest of
linked up structures that may have been created as part of parsing need to be cleaned up else every wrong input stream causes this memory to be allocated and not get deleted at all when the parser is working as part of another thread.

Is there some standard functionality available to do some cleanup
associated with the values associated with bison's internal stack ?? for instance something that lets you iterate over all the values in the stack and delete them.

thanks for the help

-ashsih



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com





reply via email to

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