mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 18:23:03 +00:00
Merge remote-tracking branch 'origin/maint'
* origin/maint: build: don't try to generate docs when cross-compiling package: fix a reporter's name %union: fix the support for named %union package: bump to 2015 flex: don't trust YY_USER_INIT yacc.c: fix broken union when api.value.type=union and %defines are used doc: fix missing xref gnulib: update location: remove some ugly debugging code traces build: use abort to pacify compiler errors package: bump to 2014 doc: specify documentation encoding
This commit is contained in:
2
AUTHORS
2
AUTHORS
@@ -24,7 +24,7 @@ and nasty bugs.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 1998-2013 Free Software Foundation, Inc.
|
Copyright (C) 1998-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
@@ -26733,7 +26733,7 @@
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 1987-1988, 1991-2013 Free Software Foundation,
|
Copyright (C) 1987-1988, 1991-2015 Free Software Foundation,
|
||||||
Inc.
|
Inc.
|
||||||
|
|
||||||
Copying and distribution of this file, with or without
|
Copying and distribution of this file, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
## Process this file with automake to produce Makefile.in.
|
## Process this file with automake to produce Makefile.in.
|
||||||
|
|
||||||
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
16
NEWS
16
NEWS
@@ -4,6 +4,20 @@ GNU Bison NEWS
|
|||||||
|
|
||||||
** Bug fixes
|
** Bug fixes
|
||||||
|
|
||||||
|
*** Named %union support
|
||||||
|
|
||||||
|
Bison 3.0 introduced a regression on named %union such as
|
||||||
|
|
||||||
|
%union foo { int ival; };
|
||||||
|
|
||||||
|
The possibility to use a name was introduced ``for Yacc compatibility''.
|
||||||
|
It is however not required by POSIX Yacc, and its usefulness is not clear.
|
||||||
|
|
||||||
|
*** %define api.value.type union with %defines
|
||||||
|
|
||||||
|
The yacc.c and glr.c parsers were broken when %defines was used
|
||||||
|
together with "%define api.value.type union".
|
||||||
|
|
||||||
*** Redeclarations are reported in proper order
|
*** Redeclarations are reported in proper order
|
||||||
|
|
||||||
On
|
On
|
||||||
@@ -2718,7 +2732,7 @@ Output file does not redefine const for C++.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 1995-2013 Free Software Foundation, Inc.
|
Copyright (C) 1995-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Parser Generator.
|
This file is part of Bison, the GNU Parser Generator.
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ to the bison package.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 2002, 2005, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2005, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
2
README
2
README
@@ -44,7 +44,7 @@ End:
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 1992, 1998-1999, 2003-2005, 2008-2013 Free Software
|
Copyright (C) 1992, 1998-1999, 2003-2005, 2008-2015 Free Software
|
||||||
Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ the problems you encounter.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 2002, 2004, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2004, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GNU Bison.
|
This file is part of GNU Bison.
|
||||||
|
|
||||||
|
|||||||
@@ -449,7 +449,7 @@ Push these changes.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 2002-2005, 2007-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002-2005, 2007-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GNU Bison.
|
This file is part of GNU Bison.
|
||||||
|
|
||||||
|
|||||||
14
THANKS
14
THANKS
@@ -1,7 +1,8 @@
|
|||||||
Bison was originally written by Robert Corbett. It would not be what
|
Bison was originally written by Robert Corbett. It would not be what
|
||||||
it is today without the invaluable help of these people:
|
it is today without the invaluable help of these people:
|
||||||
|
|
||||||
Аскар Сафин safinaskar@mail.ru
|
Aaro Koskinen aaro.koskinen@iki.fi
|
||||||
|
Аскар Сафин safinaskar@mail.ru
|
||||||
Airy Andre Airy.Andre@edf.fr
|
Airy Andre Airy.Andre@edf.fr
|
||||||
Akim Demaille akim@lrde.epita.fr
|
Akim Demaille akim@lrde.epita.fr
|
||||||
Albert Chin-A-Young china@thewrittenword.com
|
Albert Chin-A-Young china@thewrittenword.com
|
||||||
@@ -16,6 +17,7 @@ Art Haas ahaas@neosoft.com
|
|||||||
Baron Schwartz baron@sequent.org
|
Baron Schwartz baron@sequent.org
|
||||||
Ben Pfaff blp@cs.stanford.edu
|
Ben Pfaff blp@cs.stanford.edu
|
||||||
Benoit Perrot benoit.perrot@epita.fr
|
Benoit Perrot benoit.perrot@epita.fr
|
||||||
|
Bernd Edlinger bernd.edlinger@hotmail.de
|
||||||
Bernd Kiefer kiefer@dfki.de
|
Bernd Kiefer kiefer@dfki.de
|
||||||
Bert Deknuydt Bert.Deknuydt@esat.kuleuven.ac.be
|
Bert Deknuydt Bert.Deknuydt@esat.kuleuven.ac.be
|
||||||
Bill Allombert Bill.Allombert@math.u-bordeaux1.fr
|
Bill Allombert Bill.Allombert@math.u-bordeaux1.fr
|
||||||
@@ -66,9 +68,9 @@ Johan van Selst johans@stack.nl
|
|||||||
Jonathan Fabrizio jonathan.fabrizio@lrde.epita.fr
|
Jonathan Fabrizio jonathan.fabrizio@lrde.epita.fr
|
||||||
Jonathan Nieder jrnieder@gmail.com
|
Jonathan Nieder jrnieder@gmail.com
|
||||||
Juan Manuel Guerrero juan.guerrero@gmx.de
|
Juan Manuel Guerrero juan.guerrero@gmx.de
|
||||||
Ken Moffat zarniwhoop@ntlworld.com
|
|
||||||
Kees Zeelenberg kzlg@users.sourceforge.net
|
Kees Zeelenberg kzlg@users.sourceforge.net
|
||||||
Keith Browne kbrowne@legato.com
|
Keith Browne kbrowne@legato.com
|
||||||
|
Ken Moffat zarniwhoop@ntlworld.com
|
||||||
Laurent Mascherpa laurent.mascherpa@epita.fr
|
Laurent Mascherpa laurent.mascherpa@epita.fr
|
||||||
Lie Yan lie.yan@kaust.edu.sa
|
Lie Yan lie.yan@kaust.edu.sa
|
||||||
Magnus Fromreide magfr@lysator.liu.se
|
Magnus Fromreide magfr@lysator.liu.se
|
||||||
@@ -112,11 +114,12 @@ Quoc Peyrot chojin@lrde.epita.fr
|
|||||||
R Blake blakers@mac.com
|
R Blake blakers@mac.com
|
||||||
Raja R Harinath harinath@cs.umn.edu
|
Raja R Harinath harinath@cs.umn.edu
|
||||||
Ralf Wildenhues Ralf.Wildenhues@gmx.de
|
Ralf Wildenhues Ralf.Wildenhues@gmx.de
|
||||||
|
Rich Wilson richaw@gmail.com
|
||||||
Richard Stallman rms@gnu.org
|
Richard Stallman rms@gnu.org
|
||||||
Rici Lake ricilake@gmail.com
|
Rici Lake ricilake@gmail.com
|
||||||
|
Rob Conde rob.conde@ai-solutions.com
|
||||||
Rob Vermaas rob.vermaas@gmail.com
|
Rob Vermaas rob.vermaas@gmail.com
|
||||||
Robert Anisko anisko_r@epita.fr
|
Robert Anisko anisko_r@epita.fr
|
||||||
Rob Conde rob.conde@ai-solutions.com
|
|
||||||
Roland Levillain roland@lrde.epita.fr
|
Roland Levillain roland@lrde.epita.fr
|
||||||
Satya Kiran Popuri satyakiran@gmail.com
|
Satya Kiran Popuri satyakiran@gmail.com
|
||||||
Sebastian Setzer sebastian.setzer.ext@siemens.com
|
Sebastian Setzer sebastian.setzer.ext@siemens.com
|
||||||
@@ -124,6 +127,7 @@ Sebastien Fricker sebastien.fricker@gmail.com
|
|||||||
Sergei Steshenko sergstesh@yahoo.com
|
Sergei Steshenko sergstesh@yahoo.com
|
||||||
Shura debil_urod@ngs.ru
|
Shura debil_urod@ngs.ru
|
||||||
Stefano Lattarini stefano.lattarini@gmail.com
|
Stefano Lattarini stefano.lattarini@gmail.com
|
||||||
|
Stephen Cameron stephenmcameron@gmail.com
|
||||||
Steve Murphy murf@parsetree.com
|
Steve Murphy murf@parsetree.com
|
||||||
Sum Wu sum@geekhouse.org
|
Sum Wu sum@geekhouse.org
|
||||||
Théophile Ranquet theophile.ranquet@gmail.com
|
Théophile Ranquet theophile.ranquet@gmail.com
|
||||||
@@ -131,6 +135,7 @@ Thiru Ramakrishnan thiru.ramakrishnan@gmail.com
|
|||||||
Tim Josling tej@melbpc.org.au
|
Tim Josling tej@melbpc.org.au
|
||||||
Tim Landscheidt tim@tim-landscheidt.de
|
Tim Landscheidt tim@tim-landscheidt.de
|
||||||
Tim Van Holder tim.van.holder@pandora.be
|
Tim Van Holder tim.van.holder@pandora.be
|
||||||
|
Tobias Frost tobi@debian.org
|
||||||
Tom Lane tgl@sss.pgh.pa.us
|
Tom Lane tgl@sss.pgh.pa.us
|
||||||
Tom Tromey tromey@cygnus.com
|
Tom Tromey tromey@cygnus.com
|
||||||
Tommy Nordgren tommy.nordgren@chello.se
|
Tommy Nordgren tommy.nordgren@chello.se
|
||||||
@@ -146,6 +151,7 @@ Wojciech Polak polak@gnu.org
|
|||||||
Wolfgang S. Kechel wolfgang.kechel@prs.de
|
Wolfgang S. Kechel wolfgang.kechel@prs.de
|
||||||
Wolfram Wagner ww@mpi-sb.mpg.de
|
Wolfram Wagner ww@mpi-sb.mpg.de
|
||||||
Wwp subscript@free.fr
|
Wwp subscript@free.fr
|
||||||
|
xolodho xolodho@gmail.com
|
||||||
Zack Weinberg zack@codesourcery.com
|
Zack Weinberg zack@codesourcery.com
|
||||||
|
|
||||||
Many people are not named here because we lost track of them. We
|
Many people are not named here because we lost track of them. We
|
||||||
@@ -158,7 +164,7 @@ End:
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 2000-2013 Free Software Foundation, Inc.
|
Copyright (C) 2000-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Parser Generator.
|
This file is part of Bison, the GNU Parser Generator.
|
||||||
|
|
||||||
|
|||||||
2
TODO
2
TODO
@@ -369,7 +369,7 @@ End:
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 2001-2004, 2006, 2008-2013 Free Software Foundation, Inc.
|
Copyright (C) 2001-2004, 2006, 2008-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
52
bootstrap
52
bootstrap
@@ -1,10 +1,10 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Print a version string.
|
# Print a version string.
|
||||||
scriptversion=2013-08-15.22; # UTC
|
scriptversion=2014-12-08.12; # UTC
|
||||||
|
|
||||||
# Bootstrap this package from checked-out sources.
|
# Bootstrap this package from checked-out sources.
|
||||||
|
|
||||||
# Copyright (C) 2003-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2003-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -42,6 +42,9 @@ export LC_ALL
|
|||||||
|
|
||||||
local_gl_dir=gl
|
local_gl_dir=gl
|
||||||
|
|
||||||
|
# Honour $PERL, but work even if there is none
|
||||||
|
PERL="${PERL-perl}"
|
||||||
|
|
||||||
me=$0
|
me=$0
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
@@ -210,7 +213,17 @@ bootstrap_sync=false
|
|||||||
use_git=true
|
use_git=true
|
||||||
|
|
||||||
check_exists() {
|
check_exists() {
|
||||||
($1 --version </dev/null) >/dev/null 2>&1
|
if test "$1" = "--verbose"; then
|
||||||
|
($2 --version </dev/null) >/dev/null 2>&1
|
||||||
|
if test $? -ge 126; then
|
||||||
|
# If not found, run with diagnostics as one may be
|
||||||
|
# presented with env variables to set to find the right version
|
||||||
|
($2 --version </dev/null)
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
($1 --version </dev/null) >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
test $? -lt 126
|
test $? -lt 126
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -408,7 +421,7 @@ sort_ver() { # sort -V is not generally available
|
|||||||
get_version() {
|
get_version() {
|
||||||
app=$1
|
app=$1
|
||||||
|
|
||||||
$app --version >/dev/null 2>&1 || return 1
|
$app --version >/dev/null 2>&1 || { $app --version; return 1; }
|
||||||
|
|
||||||
$app --version 2>&1 |
|
$app --version 2>&1 |
|
||||||
sed -n '# Move version to start of line.
|
sed -n '# Move version to start of line.
|
||||||
@@ -446,6 +459,7 @@ check_versions() {
|
|||||||
test "$appvar" = TAR && appvar=AMTAR
|
test "$appvar" = TAR && appvar=AMTAR
|
||||||
case $appvar in
|
case $appvar in
|
||||||
GZIP) ;; # Do not use $GZIP: it contains gzip options.
|
GZIP) ;; # Do not use $GZIP: it contains gzip options.
|
||||||
|
PERL::*) ;; # Keep perl modules as-is
|
||||||
*) eval "app=\${$appvar-$app}" ;;
|
*) eval "app=\${$appvar-$app}" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -463,11 +477,22 @@ check_versions() {
|
|||||||
ret=1
|
ret=1
|
||||||
continue
|
continue
|
||||||
} ;;
|
} ;;
|
||||||
|
# Another check is for perl modules. These can be written as
|
||||||
|
# e.g. perl::XML::XPath in case of XML::XPath module, etc.
|
||||||
|
perl::*)
|
||||||
|
# Extract module name
|
||||||
|
app="${app#perl::}"
|
||||||
|
if ! $PERL -m"$app" -e 'exit 0' >/dev/null 2>&1; then
|
||||||
|
warn_ "Error: perl module '$app' not found"
|
||||||
|
ret=1
|
||||||
|
fi
|
||||||
|
continue
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
if [ "$req_ver" = "-" ]; then
|
if [ "$req_ver" = "-" ]; then
|
||||||
# Merely require app to exist; not all prereq apps are well-behaved
|
# Merely require app to exist; not all prereq apps are well-behaved
|
||||||
# so we have to rely on $? rather than get_version.
|
# so we have to rely on $? rather than get_version.
|
||||||
if ! check_exists $app; then
|
if ! check_exists --verbose $app; then
|
||||||
warn_ "Error: '$app' not found"
|
warn_ "Error: '$app' not found"
|
||||||
ret=1
|
ret=1
|
||||||
fi
|
fi
|
||||||
@@ -551,6 +576,14 @@ if ! printf "$buildreq" | check_versions; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Warn the user if autom4te appears to be broken; this causes known
|
||||||
|
# issues with at least gettext 0.18.3.
|
||||||
|
probe=$(echo 'm4_quote([hi])' | autom4te -l M4sugar -t 'm4_quote:$%' -)
|
||||||
|
if test "x$probe" != xhi; then
|
||||||
|
warn_ "WARNING: your autom4te wrapper eats stdin;"
|
||||||
|
warn_ "if bootstrap fails, consider upgrading your autotools"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "$0: Bootstrapping from checked-out $package sources..."
|
echo "$0: Bootstrapping from checked-out $package sources..."
|
||||||
|
|
||||||
# See if we can use gnulib's git-merge-changelog merge driver.
|
# See if we can use gnulib's git-merge-changelog merge driver.
|
||||||
@@ -590,8 +623,8 @@ case ${GNULIB_SRCDIR--} in
|
|||||||
# Note that $use_git is necessarily true in this case.
|
# Note that $use_git is necessarily true in this case.
|
||||||
if git_modules_config submodule.gnulib.url >/dev/null; then
|
if git_modules_config submodule.gnulib.url >/dev/null; then
|
||||||
echo "$0: getting gnulib files..."
|
echo "$0: getting gnulib files..."
|
||||||
git submodule init || exit $?
|
git submodule init -- "$gnulib_path" || exit $?
|
||||||
git submodule update || exit $?
|
git submodule update -- "$gnulib_path" || exit $?
|
||||||
|
|
||||||
elif [ ! -d "$gnulib_path" ]; then
|
elif [ ! -d "$gnulib_path" ]; then
|
||||||
echo "$0: getting gnulib files..."
|
echo "$0: getting gnulib files..."
|
||||||
@@ -620,13 +653,14 @@ case ${GNULIB_SRCDIR--} in
|
|||||||
# This fallback allows at least git 1.5.5.
|
# This fallback allows at least git 1.5.5.
|
||||||
if test -f "$gnulib_path"/gnulib-tool; then
|
if test -f "$gnulib_path"/gnulib-tool; then
|
||||||
# Since file already exists, assume submodule init already complete.
|
# Since file already exists, assume submodule init already complete.
|
||||||
git submodule update || exit $?
|
git submodule update -- "$gnulib_path" || exit $?
|
||||||
else
|
else
|
||||||
# Older git can't clone into an empty directory.
|
# Older git can't clone into an empty directory.
|
||||||
rmdir "$gnulib_path" 2>/dev/null
|
rmdir "$gnulib_path" 2>/dev/null
|
||||||
git clone --reference "$GNULIB_SRCDIR" \
|
git clone --reference "$GNULIB_SRCDIR" \
|
||||||
"$(git_modules_config submodule.gnulib.url)" "$gnulib_path" \
|
"$(git_modules_config submodule.gnulib.url)" "$gnulib_path" \
|
||||||
&& git submodule init && git submodule update \
|
&& git submodule init -- "$gnulib_path" \
|
||||||
|
&& git submodule update -- "$gnulib_path" \
|
||||||
|| exit $?
|
|| exit $?
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Bootstrap configuration.
|
# Bootstrap configuration.
|
||||||
|
|
||||||
# Copyright (C) 2006-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2006-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2012-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2012-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
# option. It specifies what changes to make to each given SHA1's commit
|
# option. It specifies what changes to make to each given SHA1's commit
|
||||||
# log and metadata, using Perl-eval'able expressions.
|
# log and metadata, using Perl-eval'able expressions.
|
||||||
|
|
||||||
|
975bb564319aa4f4204c48aba265757ba207a80f
|
||||||
|
s/Edligner/Edlinger/;
|
||||||
|
|
||||||
0db2648930e3b6c376a539aabe368aade83ee29a
|
0db2648930e3b6c376a539aabe368aade83ee29a
|
||||||
s/--flags/--feature/;
|
s/--flags/--feature/;
|
||||||
s/flag_flag/feature_flag/;
|
s/flag_flag/feature_flag/;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2000-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2000-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# Update b4_copyright invocations or b4_copyright_years definitions to
|
# Update b4_copyright invocations or b4_copyright_years definitions to
|
||||||
# include the current year.
|
# include the current year.
|
||||||
|
|
||||||
# Copyright (C) 2009-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# In configure.ac, update PACKAGE_COPYRIGHT_YEAR to the current year.
|
# In configure.ac, update PACKAGE_COPYRIGHT_YEAR to the current year.
|
||||||
|
|
||||||
# Copyright (C) 2010-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2010-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
2
cfg.mk
2
cfg.mk
@@ -1,5 +1,5 @@
|
|||||||
# Customize maint.mk -*- makefile -*-
|
# Customize maint.mk -*- makefile -*-
|
||||||
# Copyright (C) 2008-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2008-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Configure template for GNU Bison. -*-Autoconf-*-
|
# Configure template for GNU Bison. -*-Autoconf-*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -26,7 +26,7 @@ m4_pattern_forbid([^gl_[A-Z]])
|
|||||||
AC_INIT([GNU Bison],
|
AC_INIT([GNU Bison],
|
||||||
m4_esyscmd([build-aux/git-version-gen .tarball-version]),
|
m4_esyscmd([build-aux/git-version-gen .tarball-version]),
|
||||||
[bug-bison@gnu.org])
|
[bug-bison@gnu.org])
|
||||||
AC_SUBST([PACKAGE_COPYRIGHT_YEAR], [2013])
|
AC_SUBST([PACKAGE_COPYRIGHT_YEAR], [2015])
|
||||||
AC_DEFINE_UNQUOTED([PACKAGE_COPYRIGHT_YEAR], [$PACKAGE_COPYRIGHT_YEAR],
|
AC_DEFINE_UNQUOTED([PACKAGE_COPYRIGHT_YEAR], [$PACKAGE_COPYRIGHT_YEAR],
|
||||||
[The copyright year for this package])
|
[The copyright year for this package])
|
||||||
|
|
||||||
@@ -237,6 +237,9 @@ case $VALGRIND:$host_os in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Whether we cannot run the compiled bison.
|
||||||
|
AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes])
|
||||||
|
|
||||||
AM_MISSING_PROG([AUTOM4TE], [autom4te])
|
AM_MISSING_PROG([AUTOM4TE], [autom4te])
|
||||||
# Needed by tests/atlocal.in.
|
# Needed by tests/atlocal.in.
|
||||||
AC_SUBST([GCC])
|
AC_SUBST([GCC])
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ into various formats.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 2002, 2008-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2008-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GNU Bison.
|
This file is part of GNU Bison.
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Language-independent M4 Macros for Bison.
|
# Language-independent M4 Macros for Bison.
|
||||||
|
|
||||||
# Copyright (C) 2002, 2004-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2002, 2004-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -1061,3 +1061,6 @@ b4_percent_define_ifdef([api.value.type],
|
|||||||
[['%s' and '%s' cannot be used together]],
|
[['%s' and '%s' cannot be used together]],
|
||||||
[%yacc],
|
[%yacc],
|
||||||
[%define api.value.type "union"])])])])
|
[%define api.value.type "union"])])])])
|
||||||
|
|
||||||
|
# api.value.union.name.
|
||||||
|
b4_percent_define_check_kind([api.value.union.name], [keyword])
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# C++ skeleton dispatching for Bison.
|
# C++ skeleton dispatching for Bison.
|
||||||
|
|
||||||
# Copyright (C) 2006-2007, 2009-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2006-2007, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# C++ skeleton for Bison
|
# C++ skeleton for Bison
|
||||||
|
|
||||||
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2002-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -17,6 +17,11 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# Sanity checks, before defaults installed by c.m4.
|
||||||
|
b4_percent_define_ifdef([[api.value.union.name]],
|
||||||
|
[b4_complain_at(b4_percent_define_get_loc([[api.value.union.name]]),
|
||||||
|
[named %union is invalid in C++])])
|
||||||
|
|
||||||
m4_include(b4_pkgdatadir/[c.m4])
|
m4_include(b4_pkgdatadir/[c.m4])
|
||||||
|
|
||||||
# b4_comment(TEXT, [PREFIX])
|
# b4_comment(TEXT, [PREFIX])
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Common code for C-like languages (C, C++, Java, etc.)
|
# Common code for C-like languages (C, C++, Java, etc.)
|
||||||
|
|
||||||
# Copyright (C) 2012-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2012-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# C skeleton dispatching for Bison.
|
# C skeleton dispatching for Bison.
|
||||||
|
|
||||||
# Copyright (C) 2006-2007, 2009-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2006-2007, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
26
data/c.m4
26
data/c.m4
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# C M4 Macros for Bison.
|
# C M4 Macros for Bison.
|
||||||
|
|
||||||
# Copyright (C) 2002, 2004-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2002, 2004-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -97,7 +97,8 @@ m4_define([b4_api_PREFIX],
|
|||||||
m4_define_default([b4_prefix], [b4_api_prefix])
|
m4_define_default([b4_prefix], [b4_api_prefix])
|
||||||
|
|
||||||
# If the %union is not named, its name is YYSTYPE.
|
# If the %union is not named, its name is YYSTYPE.
|
||||||
m4_define_default([b4_union_name], [b4_api_PREFIX[]STYPE])
|
b4_percent_define_default([[api.value.union.name]],
|
||||||
|
[b4_api_PREFIX[][STYPE]])
|
||||||
|
|
||||||
|
|
||||||
## ------------------------ ##
|
## ------------------------ ##
|
||||||
@@ -560,15 +561,15 @@ b4_locations_if([, yylocationp])[]b4_user_args[);
|
|||||||
# b4_symbol_type_register(SYMBOL-NUM)
|
# b4_symbol_type_register(SYMBOL-NUM)
|
||||||
# -----------------------------------
|
# -----------------------------------
|
||||||
# Symbol SYMBOL-NUM has a type (for variant) instead of a type-tag.
|
# Symbol SYMBOL-NUM has a type (for variant) instead of a type-tag.
|
||||||
# Extend the definition of %union's body with a field of that type,
|
# Extend the definition of %union's body (b4_union_members) with a
|
||||||
# and extend the symbol's "type" field to point to the field name,
|
# field of that type, and extend the symbol's "type" field to point to
|
||||||
# instead of the type name.
|
# the field name, instead of the type name.
|
||||||
m4_define([b4_symbol_type_register],
|
m4_define([b4_symbol_type_register],
|
||||||
[m4_define([b4_symbol($1, type_tag)],
|
[m4_define([b4_symbol($1, type_tag)],
|
||||||
[b4_symbol_if([$1], [has_id],
|
[b4_symbol_if([$1], [has_id],
|
||||||
[b4_symbol([$1], [id])],
|
[b4_symbol([$1], [id])],
|
||||||
[yytype_[]b4_symbol([$1], [number])])])dnl
|
[yytype_[]b4_symbol([$1], [number])])])dnl
|
||||||
m4_append([b4_user_union_members],
|
m4_append([b4_union_members],
|
||||||
m4_expand([
|
m4_expand([
|
||||||
b4_symbol_tag_comment([$1])dnl
|
b4_symbol_tag_comment([$1])dnl
|
||||||
b4_symbol([$1], [type]) b4_symbol([$1], [type_tag]);]))
|
b4_symbol([$1], [type]) b4_symbol([$1], [type_tag]);]))
|
||||||
@@ -608,10 +609,9 @@ m4_copy_force([b4_symbol_value_union], [b4_symbol_value])
|
|||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
# ---------------- #
|
# -------------------------- #
|
||||||
# api.value.type. #
|
# api.value.type = variant. #
|
||||||
# ---------------- #
|
# -------------------------- #
|
||||||
|
|
||||||
|
|
||||||
# b4_value_type_setup_variant
|
# b4_value_type_setup_variant
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
@@ -686,11 +686,13 @@ typedef ]b4_percent_define_get([[api.value.type]])[ ]b4_api_PREFIX[STYPE;
|
|||||||
[m4_bmatch(b4_percent_define_get([[api.value.type]]),
|
[m4_bmatch(b4_percent_define_get([[api.value.type]]),
|
||||||
[union\|union-directive],
|
[union\|union-directive],
|
||||||
[[#if ! defined ]b4_api_PREFIX[STYPE && ! defined ]b4_api_PREFIX[STYPE_IS_DECLARED
|
[[#if ! defined ]b4_api_PREFIX[STYPE && ! defined ]b4_api_PREFIX[STYPE_IS_DECLARED
|
||||||
typedef union ]b4_union_name[ ]b4_api_PREFIX[STYPE;
|
]b4_percent_define_get_syncline([[api.value.union.name]])[
|
||||||
union ]b4_union_name[
|
union ]b4_percent_define_get([[api.value.union.name]])[
|
||||||
{
|
{
|
||||||
]b4_user_union_members[
|
]b4_user_union_members[
|
||||||
};
|
};
|
||||||
|
]b4_percent_define_get_syncline([[api.value.union.name]])[
|
||||||
|
typedef union ]b4_percent_define_get([[api.value.union.name]])[ ]b4_api_PREFIX[STYPE;
|
||||||
# define ]b4_api_PREFIX[STYPE_IS_TRIVIAL 1
|
# define ]b4_api_PREFIX[STYPE_IS_TRIVIAL 1
|
||||||
# define ]b4_api_PREFIX[STYPE_IS_DECLARED 1
|
# define ]b4_api_PREFIX[STYPE_IS_DECLARED 1
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
50
data/glr.c
50
data/glr.c
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# GLR skeleton for Bison
|
# GLR skeleton for Bison
|
||||||
|
|
||||||
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2002-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -178,9 +178,42 @@ m4_if(b4_skeleton, ["glr.c"],
|
|||||||
## Output files. ##
|
## Output files. ##
|
||||||
## -------------- ##
|
## -------------- ##
|
||||||
|
|
||||||
|
# Unfortunately the order of generation between the header and the
|
||||||
|
# implementation file matters (for glr.c) because of the current
|
||||||
|
# implementation of api.value.type=union. In that case we still use a
|
||||||
|
# union for YYSTYPE, but we generate the contents of this union when
|
||||||
|
# setting up YYSTYPE. This is needed for other aspects, such as
|
||||||
|
# defining yy_symbol_value_print, since we need to now the name of the
|
||||||
|
# members of this union.
|
||||||
|
#
|
||||||
|
# To avoid this issue, just generate the header before the
|
||||||
|
# implementation file. But we should also make them more independant.
|
||||||
|
|
||||||
|
# ----------------- #
|
||||||
|
# The header file. #
|
||||||
|
# ----------------- #
|
||||||
|
|
||||||
|
# glr.cc produces its own header.
|
||||||
|
m4_if(b4_skeleton, ["glr.c"],
|
||||||
|
[b4_defines_if(
|
||||||
|
[b4_output_begin([b4_spec_defines_file])
|
||||||
|
b4_copyright([Skeleton interface for Bison GLR parsers in C],
|
||||||
|
[2002-2015])[
|
||||||
|
|
||||||
|
]b4_cpp_guard_open([b4_spec_defines_file])[
|
||||||
|
]b4_shared_declarations[
|
||||||
|
]b4_cpp_guard_close([b4_spec_defines_file])[
|
||||||
|
]b4_output_end()
|
||||||
|
])])
|
||||||
|
|
||||||
|
|
||||||
|
# ------------------------- #
|
||||||
|
# The implementation file. #
|
||||||
|
# ------------------------- #
|
||||||
|
|
||||||
b4_output_begin([b4_parser_file_name])
|
b4_output_begin([b4_parser_file_name])
|
||||||
b4_copyright([Skeleton implementation for Bison GLR parsers in C],
|
b4_copyright([Skeleton implementation for Bison GLR parsers in C],
|
||||||
[2002-2013])[
|
[2002-2015])[
|
||||||
|
|
||||||
/* C GLR parser skeleton written by Paul Hilfinger. */
|
/* C GLR parser skeleton written by Paul Hilfinger. */
|
||||||
|
|
||||||
@@ -2539,16 +2572,3 @@ m4_if(b4_prefix, [yy], [],
|
|||||||
|
|
||||||
]b4_epilogue[]dnl
|
]b4_epilogue[]dnl
|
||||||
b4_output_end()
|
b4_output_end()
|
||||||
|
|
||||||
# glr.cc produces its own header.
|
|
||||||
m4_if(b4_skeleton, ["glr.c"],
|
|
||||||
[b4_defines_if(
|
|
||||||
[b4_output_begin([b4_spec_defines_file])
|
|
||||||
b4_copyright([Skeleton interface for Bison GLR parsers in C],
|
|
||||||
[2002-2013])[
|
|
||||||
|
|
||||||
]b4_cpp_guard_open([b4_spec_defines_file])[
|
|
||||||
]b4_shared_declarations[
|
|
||||||
]b4_cpp_guard_close([b4_spec_defines_file])[
|
|
||||||
]b4_output_end()
|
|
||||||
])])
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# C++ GLR skeleton for Bison
|
# C++ GLR skeleton for Bison
|
||||||
|
|
||||||
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2002-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -329,7 +329,7 @@ b4_percent_define_flag_if([[global_tokens_and_yystype]],
|
|||||||
b4_defines_if(
|
b4_defines_if(
|
||||||
[b4_output_begin([b4_spec_defines_file])
|
[b4_output_begin([b4_spec_defines_file])
|
||||||
b4_copyright([Skeleton interface for Bison GLR parsers in C++],
|
b4_copyright([Skeleton interface for Bison GLR parsers in C++],
|
||||||
[2002-2013])[
|
[2002-2015])[
|
||||||
|
|
||||||
// C++ GLR parser skeleton written by Akim Demaille.
|
// C++ GLR parser skeleton written by Akim Demaille.
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Java skeleton dispatching for Bison.
|
# Java skeleton dispatching for Bison.
|
||||||
|
|
||||||
# Copyright (C) 2007, 2009-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2007, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Java language support for Bison
|
# Java language support for Bison
|
||||||
|
|
||||||
# Copyright (C) 2007-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2007-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# C++ skeleton for Bison
|
# C++ skeleton for Bison
|
||||||
|
|
||||||
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2002-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -131,7 +131,7 @@ m4_ifdef([b4_lex_param], [, ]b4_lex_param))])])
|
|||||||
|
|
||||||
|
|
||||||
m4_pushdef([b4_copyright_years],
|
m4_pushdef([b4_copyright_years],
|
||||||
[2002-2013])
|
[2002-2015])
|
||||||
|
|
||||||
m4_define([b4_parser_class_name],
|
m4_define([b4_parser_class_name],
|
||||||
[b4_percent_define_get([[parser_class_name]])])
|
[b4_percent_define_get([[parser_class_name]])])
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Java skeleton for Bison -*- autoconf -*-
|
# Java skeleton for Bison -*- autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 2007-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2007-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -84,7 +84,7 @@ m4_define([b4_define_state],[[
|
|||||||
|
|
||||||
b4_output_begin([b4_parser_file_name])
|
b4_output_begin([b4_parser_file_name])
|
||||||
b4_copyright([Skeleton implementation for Bison LALR(1) parsers in Java],
|
b4_copyright([Skeleton implementation for Bison LALR(1) parsers in Java],
|
||||||
[2007-2013])
|
[2007-2015])
|
||||||
|
|
||||||
b4_percent_define_ifdef([package], [package b4_percent_define_get([package]);
|
b4_percent_define_ifdef([package], [package b4_percent_define_get([package]);
|
||||||
])[/* First part of user declarations. */
|
])[/* First part of user declarations. */
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
## Copyright (C) 2002, 2005-2013 Free Software Foundation, Inc.
|
## Copyright (C) 2002, 2005-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
## This program is free software: you can redistribute it and/or modify
|
## This program is free software: you can redistribute it and/or modify
|
||||||
## it under the terms of the GNU General Public License as published by
|
## it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# C++ skeleton for Bison
|
# C++ skeleton for Bison
|
||||||
|
|
||||||
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2002-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
m4_pushdef([b4_copyright_years],
|
m4_pushdef([b4_copyright_years],
|
||||||
[2002-2013])
|
[2002-2015])
|
||||||
|
|
||||||
# b4_position_define
|
# b4_position_define
|
||||||
# ------------------
|
# ------------------
|
||||||
@@ -273,8 +273,7 @@ m4_define([b4_location_define],
|
|||||||
operator<< (std::basic_ostream<YYChar>& ostr, const location& loc)
|
operator<< (std::basic_ostream<YYChar>& ostr, const location& loc)
|
||||||
{
|
{
|
||||||
unsigned int end_col = 0 < loc.end.column ? loc.end.column - 1 : 0;
|
unsigned int end_col = 0 < loc.end.column ? loc.end.column - 1 : 0;
|
||||||
ostr << loc.begin// << "(" << loc.end << ") "
|
ostr << loc.begin;
|
||||||
;
|
|
||||||
if (loc.end.filename
|
if (loc.end.filename
|
||||||
&& (!loc.begin.filename
|
&& (!loc.begin.filename
|
||||||
|| *loc.begin.filename != *loc.end.filename))
|
|| *loc.begin.filename != *loc.end.filename))
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# C++ skeleton for Bison
|
# C++ skeleton for Bison
|
||||||
|
|
||||||
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2002-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
m4_pushdef([b4_copyright_years],
|
m4_pushdef([b4_copyright_years],
|
||||||
[2002-2013])
|
[2002-2015])
|
||||||
|
|
||||||
# b4_stack_define
|
# b4_stack_define
|
||||||
# ---------------
|
# ---------------
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# C++ skeleton for Bison
|
# C++ skeleton for Bison
|
||||||
|
|
||||||
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2002-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<!--
|
<!--
|
||||||
bison.xsl - common templates for Bison XSLT.
|
bison.xsl - common templates for Bison XSLT.
|
||||||
|
|
||||||
Copyright (C) 2007-2013 Free Software Foundation, Inc.
|
Copyright (C) 2007-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<!--
|
<!--
|
||||||
xml2dot.xsl - transform Bison XML Report into DOT.
|
xml2dot.xsl - transform Bison XML Report into DOT.
|
||||||
|
|
||||||
Copyright (C) 2007-2013 Free Software Foundation, Inc.
|
Copyright (C) 2007-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<!--
|
<!--
|
||||||
xml2text.xsl - transform Bison XML Report into plain text.
|
xml2text.xsl - transform Bison XML Report into plain text.
|
||||||
|
|
||||||
Copyright (C) 2007-2013 Free Software Foundation, Inc.
|
Copyright (C) 2007-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<!--
|
<!--
|
||||||
xml2html.xsl - transform Bison XML Report into XHTML.
|
xml2html.xsl - transform Bison XML Report into XHTML.
|
||||||
|
|
||||||
Copyright (C) 2007-2013 Free Software Foundation, Inc.
|
Copyright (C) 2007-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
-*- C -*-
|
-*- C -*-
|
||||||
# Yacc compatible skeleton for Bison
|
# Yacc compatible skeleton for Bison
|
||||||
|
|
||||||
# Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation,
|
# Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation,
|
||||||
# Inc.
|
# Inc.
|
||||||
|
|
||||||
m4_pushdef([b4_copyright_years],
|
m4_pushdef([b4_copyright_years],
|
||||||
[1984, 1989-1990, 2000-2013])
|
[1984, 1989-1990, 2000-2015])
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# DJGPP Maintainer's Makefile -*-Makefile-*-
|
# DJGPP Maintainer's Makefile -*-Makefile-*-
|
||||||
# Requires GNU sed
|
# Requires GNU sed
|
||||||
|
|
||||||
## Copyright (C) 2005-2013 Free Software Foundation, Inc.
|
## Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
This is a port of GNU Bison @VERSION@ to MSDOS/DJGPP.
|
This is a port of GNU Bison @VERSION@ to MSDOS/DJGPP.
|
||||||
|
|
||||||
Copyright (C) 2005-2013 Free Software Foundation, Inc.
|
Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Rem Configure Bison for DJGPP.
|
|||||||
Rem WARNING WARNING WARNING: This file needs to have DOS CRLF end-of-line
|
Rem WARNING WARNING WARNING: This file needs to have DOS CRLF end-of-line
|
||||||
Rem format, or else stock DOS/Windows shells will refuse to run it.
|
Rem format, or else stock DOS/Windows shells will refuse to run it.
|
||||||
|
|
||||||
Rem Copyright (C) 2005-2013 Free Software Foundation, Inc.
|
Rem Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Rem This program is free software: you can redistribute it and/or modify
|
Rem This program is free software: you can redistribute it and/or modify
|
||||||
Rem it under the terms of the GNU General Public License as published by
|
Rem it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Sed script for additional DJGPP specific editing
|
# Sed script for additional DJGPP specific editing
|
||||||
# of the configure script generated by autoconf 2.62.
|
# of the configure script generated by autoconf 2.62.
|
||||||
|
|
||||||
# Copyright (C) 2005-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# This is the config.site file for configuring GNU packages
|
# This is the config.site file for configuring GNU packages
|
||||||
# which are to be built with DJGPP tools.
|
# which are to be built with DJGPP tools.
|
||||||
|
|
||||||
# Copyright (C) 2005-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# sed script for DJGPP specific editing of config.hin
|
# sed script for DJGPP specific editing of config.hin
|
||||||
|
|
||||||
# Copyright (C) 2005-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Rem This batch file unpacks the Bison distribution while simultaneously
|
|||||||
Rem renaming some of the files whose names are invalid on DOS or conflict
|
Rem renaming some of the files whose names are invalid on DOS or conflict
|
||||||
Rem with other file names after truncation to DOS 8+3 namespace.
|
Rem with other file names after truncation to DOS 8+3 namespace.
|
||||||
Rem
|
Rem
|
||||||
Rem Copyright (C) 2005-2013 Free Software Foundation, Inc.
|
Rem Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||||
Rem
|
Rem
|
||||||
Rem This program is free software: you can redistribute it and/or modify
|
Rem This program is free software: you can redistribute it and/or modify
|
||||||
Rem it under the terms of the GNU General Public License as published by
|
Rem it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
## Copyright (C) 2008-2013 Free Software Foundation, Inc.
|
## Copyright (C) 2008-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
## This program is free software: you can redistribute it and/or modify
|
## This program is free software: you can redistribute it and/or modify
|
||||||
## it under the terms of the GNU General Public License as published by
|
## it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Subprocesses with pipes.
|
/* Subprocesses with pipes.
|
||||||
|
|
||||||
Copyright (C) 2005-2013 Free Software Foundation, Inc.
|
Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Subprocesses with pipes.
|
/* Subprocesses with pipes.
|
||||||
|
|
||||||
Copyright (C) 2005-2013 Free Software Foundation, Inc.
|
Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Sed script for additional DJGPP specific editing
|
# Sed script for additional DJGPP specific editing
|
||||||
# of the testsuite script generated by autoconf 2.61.
|
# of the testsuite script generated by autoconf 2.61.
|
||||||
|
|
||||||
# Copyright (C) 2007-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2007-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
1
doc/.gitignore
vendored
1
doc/.gitignore
vendored
@@ -27,3 +27,4 @@
|
|||||||
/stamp-vti
|
/stamp-vti
|
||||||
/version.texi
|
/version.texi
|
||||||
/yacc.1
|
/yacc.1
|
||||||
|
/gendocs_template_min
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
\input texinfo @c -*-texinfo-*-
|
\input texinfo @c -*-texinfo-*-
|
||||||
@comment %**start of header
|
@comment %**start of header
|
||||||
@setfilename bison.info
|
@setfilename bison.info
|
||||||
|
@documentencoding UTF-8
|
||||||
|
@documentlanguage en
|
||||||
@include version.texi
|
@include version.texi
|
||||||
@settitle Bison @value{VERSION}
|
@settitle Bison @value{VERSION}
|
||||||
@setchapternewpage odd
|
@setchapternewpage odd
|
||||||
@@ -33,7 +35,7 @@
|
|||||||
This manual (@value{UPDATED}) is for GNU Bison (version
|
This manual (@value{UPDATED}) is for GNU Bison (version
|
||||||
@value{VERSION}), the GNU parser generator.
|
@value{VERSION}), the GNU parser generator.
|
||||||
|
|
||||||
Copyright @copyright{} 1988-1993, 1995, 1998-2013 Free Software
|
Copyright @copyright{} 1988-1993, 1995, 1998-2015 Free Software
|
||||||
Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
@quotation
|
@quotation
|
||||||
@@ -3849,7 +3851,7 @@ example:
|
|||||||
@noindent
|
@noindent
|
||||||
specifies the union tag @code{value}, so the corresponding C type is
|
specifies the union tag @code{value}, so the corresponding C type is
|
||||||
@code{union value}. If you do not specify a tag, it defaults to
|
@code{union value}. If you do not specify a tag, it defaults to
|
||||||
@code{YYSTYPE}.
|
@code{YYSTYPE} (@pxref{%define Summary,,api.value.union.name}).
|
||||||
|
|
||||||
As another extension to POSIX, you may specify multiple @code{%union}
|
As another extension to POSIX, you may specify multiple @code{%union}
|
||||||
declarations; their contents are concatenated. However, only the first
|
declarations; their contents are concatenated. However, only the first
|
||||||
@@ -5143,7 +5145,9 @@ value by default. However, when the parser displays a @code{STRING1} or a
|
|||||||
@code{string1}, it formats it as a string in double quotes. It performs
|
@code{string1}, it formats it as a string in double quotes. It performs
|
||||||
only the second @code{%printer} in this case, so it prints only once.
|
only the second @code{%printer} in this case, so it prints only once.
|
||||||
Finally, the parser print @samp{<>} for any symbol, such as @code{TAGLESS},
|
Finally, the parser print @samp{<>} for any symbol, such as @code{TAGLESS},
|
||||||
that has no semantic type tag. See also
|
that has no semantic type tag. @xref{Mfcalc Traces, ,Enabling Debug Traces
|
||||||
|
for @code{mfcalc}}, for a complete example.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@node Expect Decl
|
@node Expect Decl
|
||||||
@@ -6010,12 +6014,12 @@ Use this @var{type} as semantic value.
|
|||||||
@item Default Value:
|
@item Default Value:
|
||||||
@itemize @minus
|
@itemize @minus
|
||||||
@item
|
@item
|
||||||
@code{%union} if @code{%union} is used, otherwise @dots{}
|
@code{union-directive} if @code{%union} is used, otherwise @dots{}
|
||||||
@item
|
@item
|
||||||
@code{int} if type tags are used (i.e., @samp{%token <@var{type}>@dots{}} or
|
@code{int} if type tags are used (i.e., @samp{%token <@var{type}>@dots{}} or
|
||||||
@samp{%token <@var{type}>@dots{}} is used), otherwise @dots{}
|
@samp{%type <@var{type}>@dots{}} is used), otherwise @dots{}
|
||||||
@item
|
@item
|
||||||
@code{""}
|
undefined.
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
@item History:
|
@item History:
|
||||||
@@ -6026,6 +6030,30 @@ introduced in Bison 3.0. Was introduced for Java only in 2.3b as
|
|||||||
@c api.value.type
|
@c api.value.type
|
||||||
|
|
||||||
|
|
||||||
|
@c ================================================== api.value.union.name
|
||||||
|
@deffn Directive {%define api.value.union.name} @var{name}
|
||||||
|
@itemize @bullet
|
||||||
|
@item Language(s):
|
||||||
|
C
|
||||||
|
|
||||||
|
@item Purpose:
|
||||||
|
The tag of the generated @code{union} (@emph{not} the name of the
|
||||||
|
@code{typedef}). This variable is set to @code{@var{id}} when @samp{%union
|
||||||
|
@var{id}} is used. There is no clear reason to give this union a name.
|
||||||
|
|
||||||
|
@item Accepted Values:
|
||||||
|
Any valid identifier.
|
||||||
|
|
||||||
|
@item Default Value:
|
||||||
|
@code{YYSTYPE}.
|
||||||
|
|
||||||
|
@item History:
|
||||||
|
Introduced in Bison 3.0.3.
|
||||||
|
@end itemize
|
||||||
|
@end deffn
|
||||||
|
@c api.value.type
|
||||||
|
|
||||||
|
|
||||||
@c ================================================== location_type
|
@c ================================================== location_type
|
||||||
@deffn Directive {%define location_type}
|
@deffn Directive {%define location_type}
|
||||||
Obsoleted by @code{api.location.type} since Bison 2.7.
|
Obsoleted by @code{api.location.type} since Bison 2.7.
|
||||||
|
|||||||
10
doc/local.mk
10
doc/local.mk
@@ -1,4 +1,4 @@
|
|||||||
## Copyright (C) 2001-2003, 2005-2013 Free Software Foundation, Inc.
|
## Copyright (C) 2001-2003, 2005-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
## This program is free software: you can redistribute it and/or modify
|
## This program is free software: you can redistribute it and/or modify
|
||||||
## it under the terms of the GNU General Public License as published by
|
## it under the terms of the GNU General Public License as published by
|
||||||
@@ -85,11 +85,13 @@ doc/refcard.pdf: doc/refcard.tex
|
|||||||
# repeated builds of bison.help.
|
# repeated builds of bison.help.
|
||||||
|
|
||||||
EXTRA_DIST += $(top_srcdir)/doc/bison.help
|
EXTRA_DIST += $(top_srcdir)/doc/bison.help
|
||||||
|
if ! CROSS_COMPILING
|
||||||
MAINTAINERCLEANFILES += $(top_srcdir)/doc/bison.help
|
MAINTAINERCLEANFILES += $(top_srcdir)/doc/bison.help
|
||||||
$(top_srcdir)/doc/bison.help: src/bison$(EXEEXT)
|
$(top_srcdir)/doc/bison.help: src/bison$(EXEEXT)
|
||||||
$(AM_V_GEN)src/bison$(EXEEXT) --version >doc/bison.help.tmp
|
$(AM_V_GEN)src/bison$(EXEEXT) --version >doc/bison.help.tmp
|
||||||
$(AM_V_at) src/bison$(EXEEXT) --help >>doc/bison.help.tmp
|
$(AM_V_at) src/bison$(EXEEXT) --help >>doc/bison.help.tmp
|
||||||
$(AM_V_at)$(top_srcdir)/build-aux/move-if-change doc/bison.help.tmp $@
|
$(AM_V_at)$(top_srcdir)/build-aux/move-if-change doc/bison.help.tmp $@
|
||||||
|
endif ! CROSS_COMPILING
|
||||||
|
|
||||||
|
|
||||||
## ----------- ##
|
## ----------- ##
|
||||||
@@ -106,7 +108,11 @@ remove_time_stamp = \
|
|||||||
sed 's/^\(\.TH[^"]*"[^"]*"[^"]*\)"[^"]*"/\1/'
|
sed 's/^\(\.TH[^"]*"[^"]*"[^"]*\)"[^"]*"/\1/'
|
||||||
|
|
||||||
# Depend on configure to get version number changes.
|
# Depend on configure to get version number changes.
|
||||||
$(top_srcdir)/doc/bison.1: doc/bison.help doc/bison.x $(top_srcdir)/configure
|
if ! CROSS_COMPILING
|
||||||
|
MAN_DEPS = doc/bison.help doc/bison.x $(top_srcdir)/configure
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(top_srcdir)/doc/bison.1: $(MAN_DEPS)
|
||||||
$(AM_V_GEN)$(HELP2MAN) \
|
$(AM_V_GEN)$(HELP2MAN) \
|
||||||
--include=$(top_srcdir)/doc/bison.x \
|
--include=$(top_srcdir)/doc/bison.x \
|
||||||
--output=$@.t src/bison$(EXEEXT)
|
--output=$@.t src/bison$(EXEEXT)
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
\def\finalout{\overfullrule=0pt}
|
\def\finalout{\overfullrule=0pt}
|
||||||
%\finalout
|
%\finalout
|
||||||
|
|
||||||
% Copyright (c) 1998, 2001, 2009-2013 Free Software Foundation, Inc.
|
% Copyright (c) 1998, 2001, 2009-2015 Free Software Foundation, Inc.
|
||||||
%
|
%
|
||||||
% This file is part of Bison.
|
% This file is part of Bison.
|
||||||
%
|
%
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ straightforward use of _build/src/bison would.)
|
|||||||
|
|
||||||
--
|
--
|
||||||
|
|
||||||
Copyright (C) 2006, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2006, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /usr/bin/perl -w
|
#! /usr/bin/perl -w
|
||||||
|
|
||||||
# Copyright (C) 2006, 2008-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2006, 2008-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is part of Bison, the GNU Compiler Compiler.
|
# This file is part of Bison, the GNU Compiler Compiler.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
## Copyright (C) 2006, 2008-2013 Free Software Foundation, Inc.
|
## Copyright (C) 2006, 2008-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
## This program is free software: you can redistribute it and/or modify
|
## This program is free software: you can redistribute it and/or modify
|
||||||
## it under the terms of the GNU General Public License as published by
|
## it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# Copyright (C) 2005-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2005-2006, 2008-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2005-2006, 2008-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
# This file is part of GNU Bison
|
# This file is part of GNU Bison
|
||||||
|
|
||||||
# Copyright (C) 1992, 2000-2001, 2005-2006, 2009-2013 Free Software
|
# Copyright (C) 1992, 2000-2001, 2005-2006, 2009-2015 Free Software
|
||||||
# Foundation, Inc.
|
# Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2005, 2008-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2005, 2008-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2005-2006, 2008-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2005-2006, 2008-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# Copyright (C) 2005-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2005-2006, 2008-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2005-2006, 2008-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# Copyright (C) 2005-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# Copyright (C) 2005-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2005-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (C) 2008-2013 Free Software Foundation, Inc.
|
Copyright (C) 2008-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
2
gnulib
2
gnulib
Submodule gnulib updated: 74540d44dc...d44c524ba7
2
lib/.gitignore
vendored
2
lib/.gitignore
vendored
@@ -274,3 +274,5 @@
|
|||||||
/wctype-h.c
|
/wctype-h.c
|
||||||
/lstat.c
|
/lstat.c
|
||||||
/unlink.c
|
/unlink.c
|
||||||
|
/gettimeofday.c
|
||||||
|
/sys_time.in.h
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Array bitsets.
|
/* Array bitsets.
|
||||||
|
|
||||||
Copyright (C) 2002-2003, 2006, 2009-2013 Free Software Foundation,
|
Copyright (C) 2002-2003, 2006, 2009-2015 Free Software Foundation,
|
||||||
Inc.
|
Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Functions to support abitsets.
|
/* Functions to support abitsets.
|
||||||
|
|
||||||
Copyright (C) 2002, 2004, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2004, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Base bitset stuff.
|
/* Base bitset stuff.
|
||||||
|
|
||||||
Copyright (C) 2002-2004, 2006, 2009-2013 Free Software Foundation,
|
Copyright (C) 2002-2004, 2006, 2009-2015 Free Software Foundation,
|
||||||
Inc.
|
Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* General bitsets.
|
/* General bitsets.
|
||||||
|
|
||||||
Copyright (C) 2002-2006, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002-2006, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Generic bitsets.
|
/* Generic bitsets.
|
||||||
|
|
||||||
Copyright (C) 2002-2004, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002-2004, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Bitset statistics.
|
/* Bitset statistics.
|
||||||
|
|
||||||
Copyright (C) 2002-2006, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002-2006, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Functions to support bitset statistics.
|
/* Functions to support bitset statistics.
|
||||||
|
|
||||||
Copyright (C) 2002-2004, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002-2004, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Bitset vectors.
|
/* Bitset vectors.
|
||||||
|
|
||||||
Copyright (C) 2001-2002, 2004, 2006, 2009-2013 Free Software
|
Copyright (C) 2001-2002, 2004, 2006, 2009-2015 Free Software
|
||||||
Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Bitset vectors.
|
/* Bitset vectors.
|
||||||
|
|
||||||
Copyright (C) 2002, 2004, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2004, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Akim Demaille (akim@freefriends.org).
|
Contributed by Akim Demaille (akim@freefriends.org).
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Bitset vectors.
|
/* Bitset vectors.
|
||||||
|
|
||||||
Copyright (C) 2001-2002, 2004-2006, 2009-2013 Free Software
|
Copyright (C) 2001-2002, 2004-2006, 2009-2015 Free Software
|
||||||
Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Bitset vectors.
|
/* Bitset vectors.
|
||||||
|
|
||||||
Copyright (C) 2002, 2004, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2004, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Functions to support expandable bitsets.
|
/* Functions to support expandable bitsets.
|
||||||
|
|
||||||
Copyright (C) 2002-2006, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002-2006, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Functions to support ebitsets.
|
/* Functions to support ebitsets.
|
||||||
|
|
||||||
Copyright (C) 2002, 2004, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2004, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* get-errno.c - get and set errno.
|
/* get-errno.c - get and set errno.
|
||||||
|
|
||||||
Copyright (C) 2002, 2006, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2006, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* get-errno.h - get and set errno.
|
/* get-errno.h - get and set errno.
|
||||||
|
|
||||||
Copyright (C) 2002, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Functions to support link list bitsets.
|
/* Functions to support link list bitsets.
|
||||||
|
|
||||||
Copyright (C) 2002-2004, 2006, 2009-2013 Free Software Foundation,
|
Copyright (C) 2002-2004, 2006, 2009-2015 Free Software Foundation,
|
||||||
Inc.
|
Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Functions to support lbitsets.
|
/* Functions to support lbitsets.
|
||||||
|
|
||||||
Copyright (C) 2002, 2004, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2004, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Fake libiberty.h for Bison.
|
/* Fake libiberty.h for Bison.
|
||||||
|
|
||||||
Copyright (C) 2002-2004, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002-2004, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2001-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Yacc library main function.
|
/* Yacc library main function.
|
||||||
|
|
||||||
Copyright (C) 2002, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Timing variables for measuring compiler performance.
|
/* Timing variables for measuring compiler performance.
|
||||||
|
|
||||||
Copyright (C) 2000, 2002, 2004, 2006, 2009-2013 Free Software
|
Copyright (C) 2000, 2002, 2004, 2006, 2009-2015 Free Software
|
||||||
Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Alex Samuel <samuel@codesourcery.com>
|
Contributed by Alex Samuel <samuel@codesourcery.com>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/* This file contains the definitions for timing variables used to -*- C -*-
|
/* This file contains the definitions for timing variables used to -*- C -*-
|
||||||
measure run-time performance of the compiler.
|
measure run-time performance of the compiler.
|
||||||
|
|
||||||
Copyright (C) 2002, 2007, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2007, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Akim Demaille <akim@freefriends.org>.
|
Contributed by Akim Demaille <akim@freefriends.org>.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Timing variables for measuring compiler performance.
|
/* Timing variables for measuring compiler performance.
|
||||||
|
|
||||||
Copyright (C) 2000, 2002, 2004, 2009-2013 Free Software Foundation,
|
Copyright (C) 2000, 2002, 2004, 2009-2015 Free Software Foundation,
|
||||||
Inc.
|
Inc.
|
||||||
|
|
||||||
Contributed by Alex Samuel <samuel@codesourcery.com>
|
Contributed by Alex Samuel <samuel@codesourcery.com>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Variable array bitsets.
|
/* Variable array bitsets.
|
||||||
|
|
||||||
Copyright (C) 2002-2006, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002-2006, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Functions to support vbitsets.
|
/* Functions to support vbitsets.
|
||||||
|
|
||||||
Copyright (C) 2002, 2004, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2004, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* Yacc library error-printing function.
|
/* Yacc library error-printing function.
|
||||||
|
|
||||||
Copyright (C) 2002, 2009-2013 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
3
m4/.gitignore
vendored
3
m4/.gitignore
vendored
@@ -183,3 +183,6 @@
|
|||||||
/absolute-header.m4
|
/absolute-header.m4
|
||||||
/lstat.m4
|
/lstat.m4
|
||||||
/unlink.m4
|
/unlink.m4
|
||||||
|
/gettimeofday.m4
|
||||||
|
/obstack.m4
|
||||||
|
/sys_time_h.m4
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# bison-i18n.m4 serial 2
|
# bison-i18n.m4 serial 2
|
||||||
|
|
||||||
dnl Copyright (C) 2005-2006, 2009-2013 Free Software Foundation, Inc.
|
dnl Copyright (C) 2005-2006, 2009-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Sanity test a C compiler.
|
# Sanity test a C compiler.
|
||||||
|
|
||||||
# Copyright (C) 2006, 2009-2013 Free Software Foundation, Inc.
|
# Copyright (C) 2006, 2009-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user