From 7d72f53d1aa2b10ce065116365c4acc0e14c2639 Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 12 Feb 2021 16:54:44 -0700 Subject: [PATCH] fix: YYUSE -> YY_USE From debian sid: ```bash /home/xlgmokha/src/github.com/github/github/vendor/ruby/src/parse.y:12687: undefined reference to `YYUSE' /usr/bin/ld: /home/xlgmokha/src/github.com/github/github/vendor/ruby/src/parse.y:12687: undefined reference to `YYUSE' collect2: error: ld returned 1 exit status make: *** [Makefile:271: miniruby] Error 1 Failed to build Ruby ``` --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse.y b/parse.y index cdd64f7071aeff..4e66a79096f65c 100644 --- a/parse.y +++ b/parse.y @@ -13331,7 +13331,7 @@ count_char(const char *str, int c) RUBY_FUNC_EXPORTED size_t rb_yytnamerr(struct parser_params *p, char *yyres, const char *yystr) { - YYUSE(p); + YY_USE(p); if (*yystr == '"') { size_t yyn = 0, bquote = 0; const char *yyp = yystr;