help-bison
[Top][All Lists]
Advanced

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

Re: Bison-1.35 for Windows


From: Hans Aberg
Subject: Re: Bison-1.35 for Windows
Date: Wed, 3 Apr 2002 00:46:39 +0200

At 11:17 +0200 2002/04/02, Akim Demaille wrote:
>Johnny> I define the YYSTYPE as a pointer of class. If parsing error,
>Johnny> memory leaks.
>
>Known problem, for C and C++.

There is a thread recently in the newsgroup comp.compilers about this:

In order to avoid leaks, one must somehow keep track of the free store
resources. This can be done by hand, a conservative GC, or under C++, the
use of a proper C++ stack plus C++ classes (say via a ref count).

  Hans Aberg





reply via email to

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