Fix portability problem on OpenBSD 4.7.

Jim Meyering reported this in
<http://lists.gnu.org/archive/html/bug-bison/2010-10/msg00007.html>.
* data/yacc.c: Use EXIT_SUCCESS as a witness for stdlib.h,
not _STDLIB_H.  EXIT_SUCCESS has been defined by the standard
for quite some time.
* src/parse-gram.c, src/parse-gram.h: Regenerate.
* tests/regression.at: Tamper with the renamed witness.
(cherry picked from commit 8ff146cd31)

Conflicts:

	ChangeLog
	src/parse-gram.c
	src/parse-gram.h
This commit is contained in:
Paul Eggert
2010-10-08 12:12:48 -07:00
committed by Joel E. Denny
parent 86996fca10
commit ea6046b9f6
5 changed files with 182 additions and 169 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +1,9 @@
/* A Bison parser, made by GNU Bison 2.4.1.206-8a8b-dirty. */
/* A Bison parser, made by GNU Bison 2.4.1.243-8699. */
/* Skeleton interface for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2010 Free Software Foundation, Inc.
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
2007, 2008, 2009, 2010 Free Software Foundation, Inc.
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
@@ -161,7 +162,7 @@ typedef union YYSTYPE
{
/* Line 1725 of yacc.c */
#line 93 "parse-gram.y"
#line 94 "parse-gram.y"
symbol *symbol;
symbol_list *list;
@@ -176,7 +177,7 @@ typedef union YYSTYPE
/* Line 1725 of yacc.c */
#line 180 "parse-gram.h"
#line 181 "parse-gram.h"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */