Patch for STP's parsers that break with Bison 3.0

20 views
Skip to first unread message

Dan Liew

unread,
Aug 16, 2013, 12:22:39 PM8/16/13
to stp-...@googlegroups.com
Hi,

STP's Bison parsers fail to build for the latest Bison (3.0) because a deprecated feature (YYPARSE_PARAM macro) is being used...

From http://savannah.gnu.org/forum/forum.php?forum_id=7663

NEWS

* Noteworthy changes in release 3.0 (2013-07-25) [stable]

...

** Backward incompatible changes

*** Obsolete features

...

Support for YYLEX_PARAM and YYPARSE_PARAM is removed (deprecated in Bison
1.875): use %lex-param, %parse-param, or %param.

...

I have patched this and STP now successfully builds. I don't seem to able to make attachments to this google-group right now (probably because I just tried to join) so the patch is available at

http://www.doc.ic.ac.uk/~dsl11/patches/stp-bison3.0-parser.patch

Please consider merging the patch.

Thanks,
Dan Liew.

Reply all
Reply to author
Forward
0 new messages