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:
parent
c2f7afcd41
commit
5f045beca6
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user