Author: bapt
Date: Sat Apr 12 15:13:43 2014
New Revision: 264373
URL: http://svnweb.freebsd.org/changeset/base/264373

Log:
  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 <[email protected]> (byacc upstream)
  Spotted by:   glebius

Modified:
  stable/10/contrib/byacc/skeleton.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/contrib/byacc/skeleton.c
==============================================================================
--- stable/10/contrib/byacc/skeleton.c  Sat Apr 12 15:06:15 2014        
(r264372)
+++ stable/10/contrib/byacc/skeleton.c  Sat Apr 12 15:13:43 2014        
(r264373)
@@ -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),
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to