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
This commit is contained in:
Baptiste Daroussin 2014-03-30 21:56:13 +00:00
commit 48f1ce6489
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=263948

View File

@ -16,9 +16,9 @@
const char *const banner[] = const char *const banner[] =
{ {
"#ifndef lint", "/* original parser id follows */",
"static const char yysccsid[] = \"@(#)yaccpar 1.9 (Berkeley) 02/21/93\";", "/* yysccsid[] = \"@(#)yaccpar 1.9 (Berkeley) 02/21/93\" */",
"#endif", "/* (use YYMAJOR/YYMINOR for ifdefs dependent on parser version) */",
"", "",
"#define YYBYACC 1", "#define YYBYACC 1",
CONCAT1("#define YYMAJOR ", YYMAJOR), CONCAT1("#define YYMAJOR ", YYMAJOR),