diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-12 15:13:43 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-12 15:13:43 +0000 |
commit | 87cf2668fdca10789e03dd04229ae686957defa7 (patch) | |
tree | 5354b630f0ece7ed4e6e9124efd62a821137607b /contrib/byacc | |
parent | e7708e06f4a6088bb9590929df1388ab797948d0 (diff) | |
download | FreeBSD-src-87cf2668fdca10789e03dd04229ae686957defa7.zip FreeBSD-src-87cf2668fdca10789e03dd04229ae686957defa7.tar.gz |
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 <dickey@his.com> (byacc upstream)
Spotted by: glebius
Diffstat (limited to 'contrib/byacc')
-rw-r--r-- | contrib/byacc/skeleton.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/byacc/skeleton.c b/contrib/byacc/skeleton.c index 329d4f7..15b931a 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), |