#4284: bison-3.0.5 ----------------------+----------------------- Reporter: bdubbs@… | Owner: lfs-book Type: task | Status: new Priority: normal | Milestone: 8.3 Component: Book | Version: SVN Severity: normal | Resolution: Keywords: | ----------------------+-----------------------
Comment (by bdubbs@…): GNU Bison NEWS * Noteworthy changes in release 3.0.5 (2018-05-27) [stable] ** Bug fixes *** C++: Fix support of 'syntax_error' One incorrect 'inline' resulted in linking errors about the constructor of the syntax_error exception. *** C++: Fix warnings GCC 7.3 (with -O1 or -O2 but not -O0 or -O3) issued null-dereference warnings about yyformat being possibly null. It also warned about the deprecated implicit definition of copy constructors when there's a user-defined (copy) assignment operator. *** Location of errors In C++ parsers, out-of-bounds errors can happen when a rule with an empty ride-hand side raises a syntax error. The behavior of the default parser (yacc.c) in such a condition was undefined. Now all the parsers match the behavior of glr.c: @$ is used as the location of the error. This handles gracefully rules with and without rhs. *** Portability fixes in the test suite On some platforms, some Java and/or C++ tests were failing. -- Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/4284#comment:1> LFS Trac <http://wiki.linuxfromscratch.org/lfs/> Linux From Scratch: Your Distro, Your Rules. -- http://lists.linuxfromscratch.org/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page