Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/tn3270/tools/mkmake Now that YYSTYPE yyval is not gl...
details: https://anonhg.NetBSD.org/src/rev/34517f67c927
branches: trunk
changeset: 748658:34517f67c927
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Fri Oct 30 15:09:24 2009 +0000
description:
Now that YYSTYPE yyval is not global, use yylval from within yylex().
diffstat:
usr.bin/tn3270/tools/mkmake/mkmake.y | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 780edb72a5bc -r 34517f67c927 usr.bin/tn3270/tools/mkmake/mkmake.y
--- a/usr.bin/tn3270/tools/mkmake/mkmake.y Fri Oct 30 15:05:54 2009 +0000
+++ b/usr.bin/tn3270/tools/mkmake/mkmake.y Fri Oct 30 15:09:24 2009 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: mkmake.y,v 1.13 2006/03/20 01:34:49 gdamore Exp $ */
+/* $NetBSD: mkmake.y,v 1.14 2009/10/30 15:09:24 uebayasi Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
* All rights reserved.
@@ -35,7 +35,7 @@
#if 0
static char sccsid[] = "@(#)mkmake.y 4.2 (Berkeley) 4/26/91";
#else
-__RCSID("$NetBSD: mkmake.y,v 1.13 2006/03/20 01:34:49 gdamore Exp $");
+__RCSID("$NetBSD: mkmake.y,v 1.14 2009/10/30 15:09:24 uebayasi Exp $");
#endif
#endif /* not lint */
#endif
@@ -961,7 +961,7 @@
printf("[%d]", c); \
fflush(stdout); \
} \
- yyval.intval = c; \
+ yylval.intval = c; \
return y;
#else /* defined(YYDEBUG) */
#define Return(y,c) { yylval.intval = c; return y; }
Home |
Main Index |
Thread Index |
Old Index