svn commit: r319860 - stable/11/contrib/byacc/test/yacc

Ngie Cooper ngie at FreeBSD.org
Mon Jun 12 17:37:19 UTC 2017


Author: ngie
Date: Mon Jun 12 17:37:18 2017
New Revision: 319860
URL: https://svnweb.freebsd.org/changeset/base/319860

Log:
  MFC r313398:
  
  Approved by:	re (gjb)
  
  Apply r274475's to expr.oxout.tab.c to fix the test on FreeBSD
  
  YYINT on FreeBSD is int, not short
  
  I'll work with the upstream maintainer or come up with a build
  method of modifying their definitions on install instead of
  having to modify tests to match our forked YYINT definition.
  
  PR:		216891

Modified:
  stable/11/contrib/byacc/test/yacc/expr.oxout.tab.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/contrib/byacc/test/yacc/expr.oxout.tab.c
==============================================================================
--- stable/11/contrib/byacc/test/yacc/expr.oxout.tab.c	Mon Jun 12 17:22:23 2017	(r319859)
+++ stable/11/contrib/byacc/test/yacc/expr.oxout.tab.c	Mon Jun 12 17:37:18 2017	(r319860)
@@ -178,7 +178,7 @@ extern int YYPARSE_DECL();
 #define ID 257
 #define CONST 258
 #define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
 static const YYINT expr.oxout_lhs[] = {                  -1,
     2,    0,    1,    3,    3,    3,    3,    3,    3,    3,
 };


More information about the svn-src-all mailing list