Public bug reported: Description: Ubuntu precise (development branch) Release: 12.04
bison: Installed: 1:2.5.dfsg-2ubuntu1 Candidate: 1:2.5.dfsg-2ubuntu1 Version table: *** 1:2.5.dfsg-2ubuntu1 0 500 http://es.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status When compiling a C (not C++) GLR grammar, Ubuntu's patched Bison 2.5 generates an invalid file that cannot be compiled because yyerror is called with more arguments than parameters. For instance, in my grammar the generated .c file contains two calls to yyerror like this one yyerror (parsed_tree, "%s", yymsg); which is wrong since yyerror in my grammar only has two parameters: that extra "%s" is amiss. Note that there are other calls to yyerror in the glr.c skeleton which do not suffer from this problem. Upstream version 2.5 from GNU site works fine. Kind regards, ** Affects: bison (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/949732 Title: use-format-literals.patch breaks compilation of glr grammars To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bison/+bug/949732/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs