From 6cbfbcc58c425fef062c4d759e5d43c56a9a194e Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Thu, 2 May 2002 09:25:54 +0000 Subject: [PATCH] * configure.in (AC_INIT): Bump to 1.49b. (AM_INIT_AUTOMAKE): Short invocation. --- ChangeLog | 5 +++++ NEWS | 2 +- TODO | 48 +++++------------------------------------ config/prev-version.txt | 2 +- configure.in | 4 ++-- po/sv.po | 1 - 6 files changed, 14 insertions(+), 48 deletions(-) diff --git a/ChangeLog b/ChangeLog index fd5b631d..88ff17bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/NEWS b/NEWS index 2ca8a5a4..716f4090 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 43405335..a6b677f6 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 b29581a8..f82111ff 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 818818af..5eb5c480 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 eb8c0b3b..ab5c879f 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 "" -- 2.45.2