aboutsummaryrefslogtreecommitdiff
path: root/contrib/byacc/test
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-02-07 18:37:46 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-02-07 18:37:46 +0000
commitfa841eb67acc6e5a5770836d27bfbc0b81049ed7 (patch)
tree7145c0430d36617d7beec4b3cb33933f0e8a85a1 /contrib/byacc/test
parente58164041cce948a3dc0b89e5b522b5e325bb77f (diff)
downloadsrc-fa841eb67acc6e5a5770836d27bfbc0b81049ed7.tar.gz
src-fa841eb67acc6e5a5770836d27bfbc0b81049ed7.zip
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
Notes
Notes: svn path=/head/; revision=313398
Diffstat (limited to 'contrib/byacc/test')
-rw-r--r--contrib/byacc/test/yacc/expr.oxout.tab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/byacc/test/yacc/expr.oxout.tab.c b/contrib/byacc/test/yacc/expr.oxout.tab.c
index b4b7ec41bd0c..fb16527c849b 100644
--- a/contrib/byacc/test/yacc/expr.oxout.tab.c
+++ b/contrib/byacc/test/yacc/expr.oxout.tab.c
@@ -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,
};