From: Akim Demaille Date: Thu, 2 May 2002 09:25:54 +0000 (+0000) Subject: * configure.in (AC_INIT): Bump to 1.49b. X-Git-Tag: BISON-1_49b~265 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6cbfbcc58c425fef062c4d759e5d43c56a9a194e;p=platform%2Fupstream%2Fbison.git * configure.in (AC_INIT): Bump to 1.49b. (AM_INIT_AUTOMAKE): Short invocation. --- diff --git a/ChangeLog b/ChangeLog index fd5b631..88ff17b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2002-05-02 Akim Demaille + * configure.in (AC_INIT): Bump to 1.49b. + (AM_INIT_AUTOMAKE): Short invocation. + +2002-05-02 Akim Demaille + Version 1.49a. 2002-05-01 Akim Demaille diff --git a/NEWS b/NEWS index 2ca8a5a..716f409 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,7 @@ Bison News ---------- -Changes in version 1.49a: +Changes in version 1.49b: * Undefined token The undefined token was systematically mapped to 2 which prevented diff --git a/TODO b/TODO index 4340533..a6b677f 100644 --- a/TODO +++ b/TODO @@ -1,49 +1,11 @@ -*- outline -*- -* URGENT: Prologue -The %union is declared after the user C declarations. It can be -a problem if YYSTYPE is declared after the user part. - -Actually, the real problem seems that the %union ought to be output -where it was defined. For instance, in gettext/intl/plural.y, we -have: - - %{ - ... - #include "gettextP.h" - ... - %} - - %union { - unsigned long int num; - enum operator op; - struct expression *exp; - } - - %{ - ... - static int yylex PARAMS ((YYSTYPE *lval, const char **pexp)); - ... - %} - -Where the first part defines struct expression, the second uses it to -define YYSTYPE, and the last uses YYSTYPE. Only this order is valid. - -Note that we have the same problem with GCC. - -I suggest splitting the prologue into pre-prologue and post-prologue. -The reason is that: - -1. we keep language independance as it is the skeleton that joins the -two prologues (there is no need for the engine to encode union yystype -and to output it inside the prologue, which breaks the language -independance of the generator) - -2. that makes it possible to have several %union in input. I think -this is a pleasant (but useless currently) feature, but in the future, -I want a means to %include other bits of grammars, and _then_ it will -be important for the various bits to define their needs in %union. +* Several %unions +I think this is a pleasant (but useless currently) feature, but in the +future, I want a means to %include other bits of grammars, and _then_ +it will be important for the various bits to define their needs in +%union. When implementing multiple-%union support, bare the following in mind: diff --git a/config/prev-version.txt b/config/prev-version.txt index b29581a..f82111f 100644 --- a/config/prev-version.txt +++ b/config/prev-version.txt @@ -1 +1 @@ -1.29c +1.49a diff --git a/configure.in b/configure.in index 818818a..5eb5c48 100644 --- a/configure.in +++ b/configure.in @@ -20,10 +20,10 @@ # We need a recent Autoconf to run a recent Autotest. AC_PREREQ(2.53) -AC_INIT([GNU Bison], [1.49a], [bug-bison@gnu.org]) +AC_INIT([GNU Bison], [1.49b], [bug-bison@gnu.org]) AC_CONFIG_AUX_DIR(config) -AM_INIT_AUTOMAKE([bison], [1.49a]) +AM_INIT_AUTOMAKE AM_CONFIG_HEADER(config.h:config.hin) # Initialize the test suite. diff --git a/po/sv.po b/po/sv.po index eb8c0b3..ab5c879 100644 --- a/po/sv.po +++ b/po/sv.po @@ -1,7 +1,6 @@ # Swedish messages for bison. # Copyright © 2001, 2002 Free Software Foundation, Inc. # Göran Uddeborg , 2001, 2002. -# $Revision$ # msgid "" msgstr ""