Dennis Schridde schreef: > Am Dienstag, 13. Mai 2008 16:02:00 schrieb Ari Johnson: >> Right now, trunk won't build because Warzone suddenly >> requires a newer version of Bison than OSX has
Specifically Bison 2.1 or more recent is required. > I think Giel is to blame here. ;) Maybe he can tell the reason for that > switch, and possibly how it could be avoided? Because I've used the %destructor feature of Bison (which is available with Bison 1.875 already, but in that version it's implemented rather buggy). This feature allows fixing of memory leaks that occur when the parser finds a syntax error. It would otherwise just drop all tokens and associated memory that are on the parsing stack already but not matched to any parsing rule yet. As for avoiding it, you could generate a working parser with < 2.1 by removing the %destructor parts, it _will_ introduce memory leaks though. -- Giel
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
