From 5bf0a16750b897ffa7184e17748b67ff37b7701f Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 6 Dec 1996 12:07:13 +0000 Subject: [PATCH] -p did not rename 2 variables; netbsd pr#2997, mike.long@analog.com --- usr.bin/yacc/output.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/usr.bin/yacc/output.c b/usr.bin/yacc/output.c index b7ab0700d3d..6548f756baa 100644 --- a/usr.bin/yacc/output.c +++ b/usr.bin/yacc/output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: output.c,v 1.3 1996/06/26 05:44:39 deraadt Exp $ */ +/* $OpenBSD: output.c,v 1.4 1996/12/06 12:07:13 deraadt Exp $ */ /* $NetBSD: output.c,v 1.4 1996/03/19 03:21:41 jtc Exp $ */ /* @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)output.c 5.7 (Berkeley) 5/24/93"; #else -static char rcsid[] = "$OpenBSD: output.c,v 1.3 1996/06/26 05:44:39 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: output.c,v 1.4 1996/12/06 12:07:13 deraadt Exp $"; #endif #endif /* not lint */ @@ -114,12 +114,16 @@ output_prefix() ++outline; fprintf(code_file, "#define yyss %sss\n", symbol_prefix); ++outline; + fprintf(code_file, "#define yysslim %ssslim\n", symbol_prefix); + ++outline; fprintf(code_file, "#define yyssp %sssp\n", symbol_prefix); ++outline; fprintf(code_file, "#define yyvs %svs\n", symbol_prefix); ++outline; fprintf(code_file, "#define yyvsp %svsp\n", symbol_prefix); ++outline; + fprintf(code_file, "#define yystacksize %sstacksize\n", symbol_prefix); + ++outline; fprintf(code_file, "#define yylhs %slhs\n", symbol_prefix); ++outline; fprintf(code_file, "#define yylen %slen\n", symbol_prefix); -- 2.20.1