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: Johnny_xia
Subject: Re: Bison-1.35 for Windows
Date: Tue, 2 Apr 2002 11:13:09 +0800

Dear All,

> Some projects use Bison's C parser with C++ compilers, and define
> YYSTYPE as a class.  The recent adjustment of C parsers for data
> alignment and 64 bit architectures made this impossible.
I define the YYSTYPE as a pointer of class. If parsing error, memory leaks.
The object doesn't be freed properly. I have ever thought to defined it as
a class. But I am not sure of it. Is there any more support of C++ by Bison?

Regards,
Johnny Xia.





"GnuWin32" <address@hidden> on 03/31/2002 09:57:52 AM
                                                                                
                                                                                
                                                                                


                                                              
                                                              
                                                              
 To:      "GnuWin32 Announce"                                 
          <address@hidden>           
                                                              
                                                              
 cc:      address@hidden(bcc: Johnny Xia/WSH/Wistron)     
                                                              
                                                              
                                                              
                                                              
 Subject: Bison-1.35 for Windows                              
                                                              







An MS-Windows (Win32) port of the new release (1.35) of Bison is available from
http://gnuwin32.sourceforge.net
Bison is a parser generator that is compatible with Yacc.

This port of Bison may be installed in any directory, provided the subdirectory
structure is maintained. Native language support is also active.

Changes in version 1.35, 2002-03-25:

* C Skeleton
  Some projects use Bison's C parser with C++ compilers, and define
  YYSTYPE as a class.  The recent adjustment of C parsers for data
  alignment and 64 bit architectures made this impossible.

  Because for the time being no real solution for C++ parser
  generation exists, kludges were implemented in the parser to
  maintain this use.  In the future, when Bison has C++ parsers, this
  kludge will be disabled.

  This kludge also addresses some C++ problems when the stack was
  extended.

_______________________________________________
address@hidden http://mail.gnu.org/mailman/listinfo/help-bison







reply via email to

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