Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2017 17:37:18 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r319860 - stable/11/contrib/byacc/test/yacc
Message-ID:  <201706121737.v5CHbImQ005442@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,
 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706121737.v5CHbImQ005442>