Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.bin/yacc Pull up revision 1.8 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/5c701f2b1625
branches: netbsd-1-4
changeset: 471106:5c701f2b1625
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 16:33:23 2000 +0000
description:
Pull up revision 1.8 (requested by he):
Format string cleanup.
diffstat:
usr.bin/yacc/defs.h | 3 +--
usr.bin/yacc/output.c | 5 +++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (43 lines):
diff -r f56ddba92c6c -r 5c701f2b1625 usr.bin/yacc/defs.h
--- a/usr.bin/yacc/defs.h Thu Oct 19 16:33:22 2000 +0000
+++ b/usr.bin/yacc/defs.h Thu Oct 19 16:33:23 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: defs.h,v 1.7 1997/07/25 16:46:30 perry Exp $ */
+/* $NetBSD: defs.h,v 1.7.4.1 2000/10/19 16:33:23 he Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -266,7 +266,6 @@
extern int ntags;
extern char unionized;
-extern char line_format[];
extern int start_symbol;
extern char **symbol_name;
diff -r f56ddba92c6c -r 5c701f2b1625 usr.bin/yacc/output.c
--- a/usr.bin/yacc/output.c Thu Oct 19 16:33:22 2000 +0000
+++ b/usr.bin/yacc/output.c Thu Oct 19 16:33:23 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: output.c,v 1.6 1997/07/25 16:46:35 perry Exp $ */
+/* $NetBSD: output.c,v 1.6.4.1 2000/10/19 16:33:26 he Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)output.c 5.7 (Berkeley) 5/24/93";
#else
-__RCSID("$NetBSD: output.c,v 1.6 1997/07/25 16:46:35 perry Exp $");
+__RCSID("$NetBSD: output.c,v 1.6.4.1 2000/10/19 16:33:26 he Exp $");
#endif
#endif /* not lint */
@@ -90,6 +90,7 @@
void free_shifts __P((void));
void free_reductions __P((void));
+static const char line_format[] = "#line %d \"%s\"\n";
void
output()
Home |
Main Index |
Thread Index |
Old Index