Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) by www.NetBSD.org (Postfix) with ESMTP id D1D3E63C785 for ; Wed, 6 Jun 2012 07:20:52 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id AF08D14A290; Wed, 6 Jun 2012 07:20:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 972FC14A291 for ; Wed, 6 Jun 2012 07:20:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id of-IkUjzmBtu for ; Wed, 6 Jun 2012 07:20:30 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id B080B14A290 for ; Wed, 6 Jun 2012 07:20:30 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 5D350175DD; Wed, 6 Jun 2012 07:20:36 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Wed, 6 Jun 2012 07:20:36 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/bison To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20120606072036.5D350175DD@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: wiz Date: Wed Jun 6 07:20:36 UTC 2012 Modified Files: pkgsrc/devel/bison: Makefile PLIST distinfo pkgsrc/devel/bison/patches: patch-lib_isnan.c Added Files: pkgsrc/devel/bison/patches: patch-src_Makefile.in Removed Files: pkgsrc/devel/bison/patches: patch-aa Log Message: Update to 2.5.1: * Noteworthy changes in release 2.5.1 (2012-06-05) [stable] ** Future changes: The next major release will drop support for generating parsers in K&R C. ** yacc.c: YYBACKUP works as expected. ** glr.c improvements: *** Location support is eliminated when not requested: GLR parsers used to include location-related code even when locations were not requested, and therefore not even usable. *** __attribute__ is preserved: __attribute__ is no longer disabled when __STRICT_ANSI__ is defined (i.e., when -std is passed to GCC). ** lalr1.java: several fixes: The Java parser no longer throws ArrayIndexOutOfBoundsException if the first token leads to a syntax error. Some minor clean ups. ** Changes for C++: *** C++11 compatibility: C and C++ parsers use "nullptr" instead of "0" when __cplusplus is 201103L or higher. *** Header guards The header files such as "parser.hh", "location.hh", etc. used a constant name for preprocessor guards, for instance: #ifndef BISON_LOCATION_HH # define BISON_LOCATION_HH ... #endif // !BISON_LOCATION_HH The inclusion guard is now computed from "PREFIX/FILE-NAME", where lower case characters are converted to upper case, and series of non-alphanumerical characters are converted to an underscore. With "bison -o lang++/parser.cc", "location.hh" would now include: #ifndef YY_LANG_LOCATION_HH # define YY_LANG_LOCATION_HH ... #endif // !YY_LANG_LOCATION_HH *** C++ locations: The position and location constructors (and their initialize methods) accept new arguments for line and column. Several issues in the documentation were fixed. ** liby is no longer asking for "rpl_fprintf" on some platforms. ** Changes in the manual: *** %printer is documented The "%printer" directive, supported since at least Bison 1.50, is finally documented. The "mfcalc" example is extended to demonstrate it. For consistency with the C skeletons, the C++ parsers now also support "yyoutput" (as an alias to "debug_stream ()"). *** Several improvements have been made: The layout for grammar excerpts was changed to a more compact scheme. Named references are motivated. The description of the automaton description file (*.output) is updated to the current format. Incorrect index entries were fixed. Some other errors were fixed. ** Building bison: *** Conflicting prototypes with recent/modified Flex. Fixed build problems with the current, unreleased, version of Flex, and some modified versions of 2.5.35, which have modified function prototypes. *** Warnings during the build procedure have been eliminated. *** Several portability problems in the test suite have been fixed: This includes warnings with some compilers, unexpected behavior of tools such as diff, warning messages from the test suite itself, etc. *** The install-pdf target work properly: Running "make install-pdf" (or -dvi, -html, -info, and -ps) no longer halts in the middle of its course. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 pkgsrc/devel/bison/Makefile cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/bison/PLIST cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/bison/distinfo cvs rdiff -u -r1.11 -r0 pkgsrc/devel/bison/patches/patch-aa cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/bison/patches/patch-lib_isnan.c cvs rdiff -u -r0 -r1.1 pkgsrc/devel/bison/patches/patch-src_Makefile.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.