Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2017 18:37:46 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r313398 - head/contrib/byacc/test/yacc
Message-ID:  <201702071837.v17Ibkhn009905@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue Feb  7 18:37:46 2017
New Revision: 313398
URL: https://svnweb.freebsd.org/changeset/base/313398

Log:
  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
  Sponsored by:	Dell EMC Isilon

Modified:
  head/contrib/byacc/test/yacc/expr.oxout.tab.c

Modified: head/contrib/byacc/test/yacc/expr.oxout.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/expr.oxout.tab.c	Tue Feb  7 18:23:44 2017	(r313397)
+++ head/contrib/byacc/test/yacc/expr.oxout.tab.c	Tue Feb  7 18:37:46 2017	(r313398)
@@ -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?201702071837.v17Ibkhn009905>