diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-04-20 03:07:37 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-04-20 03:07:37 +0000 |
commit | b38aea99f7a0ba94ca98ac3962ae4b7f143b639b (patch) | |
tree | 9cb94a45162040418d781995bf1f8aff89a45ddf /usr.bin/yacc | |
parent | 656c5ac8a6b02cfd35fade817b6691557d3b5e5b (diff) |
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
Diffstat (limited to 'usr.bin/yacc')
-rw-r--r-- | usr.bin/yacc/skeleton.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <stdlib.h>", "#define YYBYACC 1", @@ -127,6 +127,7 @@ char *header[] = "#endif", "#endif", "#define YYINITSTACKSIZE 200", + "/* LINTED YYDEBUG */", "int yydebug;", "int yynerrs;", "int yyerrflag;", |