From 10a773225e6702770ab46fcefb65474f8687fced Mon Sep 17 00:00:00 2001 From: enami Date: Thu, 7 May 1998 05:26:35 +0000 Subject: [PATCH] When YYDEBUG is defined, return same value as when it is not defined (in other words, act same except debugging code). --- usr.bin/tn3270/tools/mkmake/mkmake.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/tn3270/tools/mkmake/mkmake.y b/usr.bin/tn3270/tools/mkmake/mkmake.y index d243f2602d99..c2b44c4fcc8b 100644 --- a/usr.bin/tn3270/tools/mkmake/mkmake.y +++ b/usr.bin/tn3270/tools/mkmake/mkmake.y @@ -1,5 +1,5 @@ %{ -/* $NetBSD: mkmake.y,v 1.6 1998/04/07 19:24:38 tv Exp $ */ +/* $NetBSD: mkmake.y,v 1.7 1998/05/07 05:26:35 enami Exp $ */ /*- * Copyright (c) 1988 The Regents of the University of California. * All rights reserved. @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)mkmake.y 4.2 (Berkeley) 4/26/91"; #else -__RCSID("$NetBSD: mkmake.y,v 1.6 1998/04/07 19:24:38 tv Exp $"); +__RCSID("$NetBSD: mkmake.y,v 1.7 1998/05/07 05:26:35 enami Exp $"); #endif #endif /* not lint */ @@ -964,7 +964,7 @@ yylex() fflush(stdout); \ } \ yyval.intval = c; \ - return c; + return y; #else /* defined(YYDEBUG) */ #define Return(y,c) { yylval.intval = c; return y; } #endif /* defined(YYDEBUG) */