summaryrefslogtreecommitdiffstats
path: root/contrib/byacc
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-03-30 21:56:13 +0000
committerbapt <bapt@FreeBSD.org>2014-03-30 21:56:13 +0000
commit131c13b832a46c4329b71fa580dd354742f4565b (patch)
tree88b1e3c4dd8de8f1d374c081651f8987b2a1abee /contrib/byacc
parent6e60e412c5a8b67e0a7f0d8617598d27e9cee5b6 (diff)
downloadFreeBSD-src-131c13b832a46c4329b71fa580dd354742f4565b.zip
FreeBSD-src-131c13b832a46c4329b71fa580dd354742f4565b.tar.gz
Convert an unused banner from skeleton.c into a comment.
It is added to every generated files and fix build at certain warning level with clang 3.4 Submitted by: Thomas Dickey <dickey@his.com> (byacc upstream) Spotted by: glebius
Diffstat (limited to 'contrib/byacc')
-rw-r--r--contrib/byacc/skeleton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/byacc/skeleton.c b/contrib/byacc/skeleton.c
index 7305b58..efbeb03 100644
--- a/contrib/byacc/skeleton.c
+++ b/contrib/byacc/skeleton.c
@@ -16,9 +16,9 @@
const char *const banner[] =
{
- "#ifndef lint",
- "static const char yysccsid[] = \"@(#)yaccpar 1.9 (Berkeley) 02/21/93\";",
- "#endif",
+ "/* original parser id follows */",
+ "/* yysccsid[] = \"@(#)yaccpar 1.9 (Berkeley) 02/21/93\" */",
+ "/* (use YYMAJOR/YYMINOR for ifdefs dependent on parser version) */",
"",
"#define YYBYACC 1",
CONCAT1("#define YYMAJOR ", YYMAJOR),
OpenPOWER on IntegriCloud