From e0ae66db632ac7c7773c8b85754bfc135f5bdbd5 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 30 Mar 2014 21:48:49 +0000 Subject: [PATCH] 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 --- skeleton.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/skeleton.c b/skeleton.c index 7305b58d8394..efbeb0317931 100644 --- a/skeleton.c +++ b/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),