From 849a818314fa1bdd9e435328216333a32d09ab6c Mon Sep 17 00:00:00 2001 From: bapt Date: Sat, 12 Apr 2014 15:13:43 +0000 Subject: [PATCH] MFC: r263948 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 (byacc upstream) Spotted by: glebius git-svn-id: svn://svn.freebsd.org/base/stable/10@264373 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- contrib/byacc/skeleton.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/byacc/skeleton.c b/contrib/byacc/skeleton.c index 329d4f7a0..15b931a71 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), -- 2.45.0