ruby-changes:65086
From: nagachika <ko1@a...>
Date: Sat, 30 Jan 2021 20:52:29 +0900 (JST)
Subject: [ruby-changes:65086] 7332b3f367 (ruby_2_7): merge revision(s) b091889ed67f278b1652ddde88596e2160d5aef0: [Backport #17582]
https://git.ruby-lang.org/ruby.git/commit/?id=7332b3f367 From 7332b3f367ce61089bf571fa1c458fde06a11eab Mon Sep 17 00:00:00 2001 From: nagachika <nagachika@r...> Date: Sat, 30 Jan 2021 20:52:15 +0900 Subject: merge revision(s) b091889ed67f278b1652ddde88596e2160d5aef0: [Backport #17582] Removed YYUSE [Bug #17582] Although it was used just to suppress an "unsed argument" warning in the same manner as other bison-provided functions, it has been dropped since Bision 3.7.5. And we always suppress that warnings. --- parse.y | 1 - 1 file changed, 1 deletion(-) --- parse.y | 1 - version.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/parse.y b/parse.y index f3522a8..ade11f4 100644 --- a/parse.y +++ b/parse.y @@ -12714,7 +12714,6 @@ count_char(const char *str, int c) https://github.com/ruby/ruby/blob/trunk/parse.y#L12714 RUBY_FUNC_EXPORTED size_t rb_yytnamerr(struct parser_params *p, char *yyres, const char *yystr) { - YYUSE(p); if (*yystr == '"') { size_t yyn = 0, bquote = 0; const char *yyp = yystr; diff --git a/version.h b/version.h index 40cd5ff..bf6de0e 100644 --- a/version.h +++ b/version.h @@ -2,7 +2,7 @@ https://github.com/ruby/ruby/blob/trunk/version.h#L2 # define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR #define RUBY_VERSION_TEENY 3 #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR -#define RUBY_PATCHLEVEL 147 +#define RUBY_PATCHLEVEL 148 #define RUBY_RELEASE_YEAR 2021 #define RUBY_RELEASE_MONTH 1 -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/