svn commit: r313398 - head/contrib/byacc/test/yacc
Ngie Cooper
ngie at FreeBSD.org
Tue Feb 7 18:37:48 UTC 2017
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,
};
More information about the svn-src-all
mailing list