From b38aea99f7a0ba94ca98ac3962ae4b7f143b639b Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 20 Apr 2006 03:07:37 +0000 Subject: yydebug has to always be there, even if it is not used. this pleases lint on every program that has a .y in it....; ok cloder though he does not understand yet --- usr.bin/yacc/skeleton.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.bin/yacc') diff --git a/usr.bin/yacc/skeleton.c b/usr.bin/yacc/skeleton.c index 168d6911456..0d44795d7fb 100644 --- a/usr.bin/yacc/skeleton.c +++ b/usr.bin/yacc/skeleton.c @@ -1,4 +1,4 @@ -/* $OpenBSD: skeleton.c,v 1.24 2005/06/10 16:40:45 pvalchev Exp $ */ +/* $OpenBSD: skeleton.c,v 1.25 2006/04/20 03:07:36 deraadt Exp $ */ /* $NetBSD: skeleton.c,v 1.10 1996/03/25 00:36:18 mrg Exp $ */ /* @@ -63,7 +63,7 @@ char *banner[] = "#if __GNUC__ >= 2", " __attribute__ ((unused))", "#endif /* __GNUC__ >= 2 */", - " = \"$OpenBSD: skeleton.c,v 1.24 2005/06/10 16:40:45 pvalchev Exp $\";", + " = \"$OpenBSD: skeleton.c,v 1.25 2006/04/20 03:07:36 deraadt Exp $\";", "#endif", "#include ", "#define YYBYACC 1", @@ -127,6 +127,7 @@ char *header[] = "#endif", "#endif", "#define YYINITSTACKSIZE 200", + "/* LINTED YYDEBUG */", "int yydebug;", "int yynerrs;", "int yyerrflag;", -- cgit v1.2.3