Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/byacc/dist Import byacc 20110908
details: https://anonhg.NetBSD.org/src/rev/016dd713211e
branches: trunk
changeset: 769461:016dd713211e
user: christos <christos%NetBSD.org@localhost>
date: Sat Sep 10 21:21:54 2011 +0000
description:
Import byacc 20110908
diffstat:
external/bsd/byacc/dist/AUTHORS | 2 +-
external/bsd/byacc/dist/README | 2 +-
external/bsd/byacc/dist/aclocal.m4 | 2 +-
external/bsd/byacc/dist/configure.in | 4 ++--
external/bsd/byacc/dist/makefile.in | 2 +-
external/bsd/byacc/dist/test/calc.tab.c | 2 ++
external/bsd/byacc/dist/test/calc.tab.h | 2 ++
external/bsd/byacc/dist/test/calc.y | 2 ++
external/bsd/byacc/dist/test/calc1.tab.c | 2 ++
external/bsd/byacc/dist/test/calc1.tab.h | 2 ++
external/bsd/byacc/dist/test/calc1.y | 2 ++
external/bsd/byacc/dist/test/calc2.tab.c | 2 ++
external/bsd/byacc/dist/test/calc2.tab.h | 2 ++
external/bsd/byacc/dist/test/calc2.y | 2 ++
external/bsd/byacc/dist/test/calc3.tab.c | 2 ++
external/bsd/byacc/dist/test/calc3.tab.h | 2 ++
external/bsd/byacc/dist/test/calc3.y | 2 ++
external/bsd/byacc/dist/test/code_calc.code.c | 2 ++
external/bsd/byacc/dist/test/code_calc.tab.c | 2 ++
external/bsd/byacc/dist/test/code_calc.tab.h | 2 ++
external/bsd/byacc/dist/test/code_calc.y | 2 ++
external/bsd/byacc/dist/test/code_error.code.c | 2 ++
external/bsd/byacc/dist/test/code_error.tab.c | 2 ++
external/bsd/byacc/dist/test/code_error.tab.h | 2 ++
external/bsd/byacc/dist/test/code_error.y | 2 ++
external/bsd/byacc/dist/test/error.y | 2 ++
external/bsd/byacc/dist/test/grammar.tab.c | 2 ++
external/bsd/byacc/dist/test/grammar.tab.h | 2 ++
external/bsd/byacc/dist/test/grammar.y | 4 +++-
external/bsd/byacc/dist/test/pure_calc.tab.c | 2 ++
external/bsd/byacc/dist/test/pure_calc.tab.h | 2 ++
external/bsd/byacc/dist/test/pure_calc.y | 2 ++
external/bsd/byacc/dist/test/pure_error.tab.c | 2 ++
external/bsd/byacc/dist/test/pure_error.tab.h | 2 ++
external/bsd/byacc/dist/test/pure_error.y | 2 ++
external/bsd/byacc/dist/test/run_lint.sh | 2 +-
external/bsd/byacc/dist/test/run_make.sh | 2 +-
external/bsd/byacc/dist/test/run_test.sh | 2 +-
external/bsd/byacc/dist/vmsbuild.com | 2 +-
39 files changed, 71 insertions(+), 11 deletions(-)
diffs (truncated from 354 to 300 lines):
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/AUTHORS
--- a/external/bsd/byacc/dist/AUTHORS Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/AUTHORS Sat Sep 10 21:21:54 2011 +0000
@@ -1,4 +1,4 @@
--- $Id: AUTHORS,v 1.1.1.2 2011/09/10 21:18:59 christos Exp $
+-- Id: AUTHORS,v 1.1 2010/06/06 20:31:51 tom Exp
-- vile:txtmode
-- This file is used by a script that collects contributor information and
-- resolves nicknames vs fullnames.
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/README
--- a/external/bsd/byacc/dist/README Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/README Sat Sep 10 21:21:54 2011 +0000
@@ -1,4 +1,4 @@
--- $Id: README,v 1.1.1.2 2011/09/10 21:18:59 christos Exp $
+-- Id: README,v 1.2 2004/03/28 17:24:53 tom Exp
The original README is below. I've updated this version of Berkeley Yacc
to make it ANSI C compliant - Thomas Dickey
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/aclocal.m4
--- a/external/bsd/byacc/dist/aclocal.m4 Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/aclocal.m4 Sat Sep 10 21:21:54 2011 +0000
@@ -1,4 +1,4 @@
-dnl $Id: aclocal.m4,v 1.1.1.3 2011/09/10 21:19:06 christos Exp $
+dnl Id: aclocal.m4,v 1.18 2011/09/05 23:45:06 tom Exp
dnl Macros for byacc configure script (Thomas E. Dickey)
dnl ---------------------------------------------------------------------------
dnl Copyright 2004-2009,2010 Thomas E. Dickey
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/configure.in
--- a/external/bsd/byacc/dist/configure.in Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/configure.in Sat Sep 10 21:21:54 2011 +0000
@@ -1,7 +1,7 @@
dnl Process this file with 'autoconf' to produce a 'configure' script
-dnl $Id: configure.in,v 1.1.1.3 2011/09/10 21:19:07 christos Exp $
+dnl Id: configure.in,v 1.10 2010/12/26 19:10:21 tom Exp
AC_PREREQ(2.13.20020210)
-AC_REVISION($Revision: 1.1.1.3 $)
+AC_REVISION(Revision: 1.10)
AC_INIT(main.c)
AC_CONFIG_HEADER(config.h:config_h.in)
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/makefile.in
--- a/external/bsd/byacc/dist/makefile.in Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/makefile.in Sat Sep 10 21:21:54 2011 +0000
@@ -1,4 +1,4 @@
-# $Id: makefile.in,v 1.1.1.3 2011/09/10 21:19:03 christos Exp $
+# Id: makefile.in,v 1.16 2010/06/09 09:46:37 tom Exp
#
# UNIX template-makefile for Berkeley Yacc
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/calc.tab.c
--- a/external/bsd/byacc/dist/test/calc.tab.c Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/calc.tab.c Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: calc.tab.c,v 1.1.1.4 2011/09/10 21:22:03 christos Exp $ */
+
#ifndef lint
static const char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93";
#endif
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/calc.tab.h
--- a/external/bsd/byacc/dist/test/calc.tab.h Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/calc.tab.h Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: calc.tab.h,v 1.1.1.3 2011/09/10 21:22:06 christos Exp $ */
+
#define DIGIT 257
#define LETTER 258
#define UMINUS 259
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/calc.y
--- a/external/bsd/byacc/dist/test/calc.y Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/calc.y Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: calc.y,v 1.1.1.4 2011/09/10 21:22:08 christos Exp $ */
+
%{
# include <stdio.h>
# include <ctype.h>
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/calc1.tab.c
--- a/external/bsd/byacc/dist/test/calc1.tab.c Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/calc1.tab.c Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: calc1.tab.c,v 1.1.1.3 2011/09/10 21:22:08 christos Exp $ */
+
#ifndef lint
static const char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93";
#endif
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/calc1.tab.h
--- a/external/bsd/byacc/dist/test/calc1.tab.h Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/calc1.tab.h Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: calc1.tab.h,v 1.1.1.3 2011/09/10 21:22:10 christos Exp $ */
+
#define DREG 257
#define VREG 258
#define CONST 259
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/calc1.y
--- a/external/bsd/byacc/dist/test/calc1.y Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/calc1.y Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: calc1.y,v 1.1.1.3 2011/09/10 21:22:09 christos Exp $ */
+
%{
/* http://dinosaur.compilertools.net/yacc/index.html */
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/calc2.tab.c
--- a/external/bsd/byacc/dist/test/calc2.tab.c Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/calc2.tab.c Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: calc2.tab.c,v 1.1.1.3 2011/09/10 21:22:08 christos Exp $ */
+
#ifndef lint
static const char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93";
#endif
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/calc2.tab.h
--- a/external/bsd/byacc/dist/test/calc2.tab.h Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/calc2.tab.h Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: calc2.tab.h,v 1.1.1.3 2011/09/10 21:22:09 christos Exp $ */
+
#define DIGIT 257
#define LETTER 258
#define UMINUS 259
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/calc2.y
--- a/external/bsd/byacc/dist/test/calc2.y Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/calc2.y Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: calc2.y,v 1.1.1.3 2011/09/10 21:22:06 christos Exp $ */
+
%parse-param { int regs[26] }
%parse-param { int *base }
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/calc3.tab.c
--- a/external/bsd/byacc/dist/test/calc3.tab.c Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/calc3.tab.c Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: calc3.tab.c,v 1.1.1.3 2011/09/10 21:22:04 christos Exp $ */
+
#ifndef lint
static const char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93";
#endif
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/calc3.tab.h
--- a/external/bsd/byacc/dist/test/calc3.tab.h Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/calc3.tab.h Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: calc3.tab.h,v 1.1.1.3 2011/09/10 21:22:05 christos Exp $ */
+
#define DIGIT 257
#define LETTER 258
#define UMINUS 259
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/calc3.y
--- a/external/bsd/byacc/dist/test/calc3.y Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/calc3.y Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: calc3.y,v 1.1.1.3 2011/09/10 21:22:07 christos Exp $ */
+
%pure-parser
%parse-param { int regs[26] }
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/code_calc.code.c
--- a/external/bsd/byacc/dist/test/code_calc.code.c Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/code_calc.code.c Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: code_calc.code.c,v 1.1.1.3 2011/09/10 21:22:05 christos Exp $ */
+
#ifndef lint
static const char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93";
#endif
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/code_calc.tab.c
--- a/external/bsd/byacc/dist/test/code_calc.tab.c Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/code_calc.tab.c Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: code_calc.tab.c,v 1.1.1.3 2011/09/10 21:22:09 christos Exp $ */
+
#ifndef yyparse
#define yyparse calc_parse
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/code_calc.tab.h
--- a/external/bsd/byacc/dist/test/code_calc.tab.h Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/code_calc.tab.h Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: code_calc.tab.h,v 1.1.1.3 2011/09/10 21:22:09 christos Exp $ */
+
#define DIGIT 257
#define LETTER 258
#define UMINUS 259
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/code_calc.y
--- a/external/bsd/byacc/dist/test/code_calc.y Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/code_calc.y Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: code_calc.y,v 1.1.1.3 2011/09/10 21:22:04 christos Exp $ */
+
%{
# include <stdio.h>
# include <ctype.h>
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/code_error.code.c
--- a/external/bsd/byacc/dist/test/code_error.code.c Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/code_error.code.c Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: code_error.code.c,v 1.1.1.3 2011/09/10 21:22:06 christos Exp $ */
+
#ifndef lint
static const char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93";
#endif
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/code_error.tab.c
--- a/external/bsd/byacc/dist/test/code_error.tab.c Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/code_error.tab.c Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: code_error.tab.c,v 1.1.1.3 2011/09/10 21:22:04 christos Exp $ */
+
#ifndef yyparse
#define yyparse error_parse
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/code_error.tab.h
--- a/external/bsd/byacc/dist/test/code_error.tab.h Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/code_error.tab.h Sat Sep 10 21:21:54 2011 +0000
@@ -0,0 +1,2 @@
+/* $NetBSD: code_error.tab.h,v 1.1.1.3 2011/09/10 21:22:04 christos Exp $ */
+
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/code_error.y
--- a/external/bsd/byacc/dist/test/code_error.y Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/code_error.y Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: code_error.y,v 1.1.1.3 2011/09/10 21:22:09 christos Exp $ */
+
%%
S: error
%%
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/error.y
--- a/external/bsd/byacc/dist/test/error.y Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/error.y Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: error.y,v 1.1.1.4 2011/09/10 21:22:03 christos Exp $ */
+
%%
S: error
%%
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/grammar.tab.c
--- a/external/bsd/byacc/dist/test/grammar.tab.c Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/grammar.tab.c Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: grammar.tab.c,v 1.1.1.4 2011/09/10 21:22:10 christos Exp $ */
+
#ifndef lint
static const char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93";
#endif
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/grammar.tab.h
--- a/external/bsd/byacc/dist/test/grammar.tab.h Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/grammar.tab.h Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: grammar.tab.h,v 1.1.1.3 2011/09/10 21:22:05 christos Exp $ */
+
#define T_IDENTIFIER 257
#define T_TYPEDEF_NAME 258
#define T_DEFINE_NAME 259
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/grammar.y
--- a/external/bsd/byacc/dist/test/grammar.y Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/grammar.y Sat Sep 10 21:21:54 2011 +0000
@@ -1,4 +1,6 @@
-/* $Id: grammar.y,v 1.1.1.3 2011/09/10 21:19:11 christos Exp $
+/* $NetBSD: grammar.y,v 1.1.1.4 2011/09/10 21:22:07 christos Exp $ */
+
+/* Id: grammar.y,v 1.3 2010/11/23 01:28:47 tom Exp
*
* yacc grammar for C function prototype generator
* This was derived from the grammar in Appendix A of
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/pure_calc.tab.c
--- a/external/bsd/byacc/dist/test/pure_calc.tab.c Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/pure_calc.tab.c Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: pure_calc.tab.c,v 1.1.1.3 2011/09/10 21:22:03 christos Exp $ */
+
#ifndef lint
static const char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93";
#endif
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/pure_calc.tab.h
--- a/external/bsd/byacc/dist/test/pure_calc.tab.h Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/pure_calc.tab.h Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: pure_calc.tab.h,v 1.1.1.3 2011/09/10 21:22:04 christos Exp $ */
+
#define DIGIT 257
#define LETTER 258
#define UMINUS 259
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/pure_calc.y
--- a/external/bsd/byacc/dist/test/pure_calc.y Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/pure_calc.y Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: pure_calc.y,v 1.1.1.3 2011/09/10 21:22:10 christos Exp $ */
+
%{
# include <stdio.h>
# include <ctype.h>
diff -r 6219e3d76f81 -r 016dd713211e external/bsd/byacc/dist/test/pure_error.tab.c
--- a/external/bsd/byacc/dist/test/pure_error.tab.c Sat Sep 10 21:18:59 2011 +0000
+++ b/external/bsd/byacc/dist/test/pure_error.tab.c Sat Sep 10 21:21:54 2011 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: pure_error.tab.c,v 1.1.1.3 2011/09/10 21:22:04 christos Exp $ */
+
#ifndef lint
static const char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93";
#endif
Home |
Main Index |
Thread Index |
Old Index