mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
* configure.in (AC_INIT): Bump to 1.49b.
(AM_INIT_AUTOMAKE): Short invocation.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2002-05-02 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* configure.in (AC_INIT): Bump to 1.49b.
|
||||||
|
(AM_INIT_AUTOMAKE): Short invocation.
|
||||||
|
|
||||||
2002-05-02 Akim Demaille <akim@epita.fr>
|
2002-05-02 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
Version 1.49a.
|
Version 1.49a.
|
||||||
|
|||||||
2
NEWS
2
NEWS
@@ -1,7 +1,7 @@
|
|||||||
Bison News
|
Bison News
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Changes in version 1.49a:
|
Changes in version 1.49b:
|
||||||
|
|
||||||
* Undefined token
|
* Undefined token
|
||||||
The undefined token was systematically mapped to 2 which prevented
|
The undefined token was systematically mapped to 2 which prevented
|
||||||
|
|||||||
48
TODO
48
TODO
@@ -1,49 +1,11 @@
|
|||||||
-*- outline -*-
|
-*- outline -*-
|
||||||
|
|
||||||
|
|
||||||
* URGENT: Prologue
|
* Several %unions
|
||||||
The %union is declared after the user C declarations. It can be
|
I think this is a pleasant (but useless currently) feature, but in the
|
||||||
a problem if YYSTYPE is declared after the user part.
|
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
|
||||||
Actually, the real problem seems that the %union ought to be output
|
%union.
|
||||||
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.
|
|
||||||
|
|
||||||
When implementing multiple-%union support, bare the following in mind:
|
When implementing multiple-%union support, bare the following in mind:
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
1.29c
|
1.49a
|
||||||
|
|||||||
@@ -20,10 +20,10 @@
|
|||||||
# We need a recent Autoconf to run a recent Autotest.
|
# We need a recent Autoconf to run a recent Autotest.
|
||||||
AC_PREREQ(2.53)
|
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)
|
AC_CONFIG_AUX_DIR(config)
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([bison], [1.49a])
|
AM_INIT_AUTOMAKE
|
||||||
AM_CONFIG_HEADER(config.h:config.hin)
|
AM_CONFIG_HEADER(config.h:config.hin)
|
||||||
|
|
||||||
# Initialize the test suite.
|
# Initialize the test suite.
|
||||||
|
|||||||
1
po/sv.po
1
po/sv.po
@@ -1,7 +1,6 @@
|
|||||||
# Swedish messages for bison.
|
# Swedish messages for bison.
|
||||||
# Copyright © 2001, 2002 Free Software Foundation, Inc.
|
# Copyright © 2001, 2002 Free Software Foundation, Inc.
|
||||||
# Göran Uddeborg <goeran@uddeborg.pp.se>, 2001, 2002.
|
# Göran Uddeborg <goeran@uddeborg.pp.se>, 2001, 2002.
|
||||||
# $Revision$
|
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|||||||
Reference in New Issue
Block a user