mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) b091889ed6
: [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(-)
This commit is contained in:
parent
3cebc70953
commit
e9843cdaee
2 changed files with 1 additions and 2 deletions
1
parse.y
1
parse.y
|
@ -13324,7 +13324,6 @@ 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);
|
||||
if (*yystr == '"') {
|
||||
size_t yyn = 0, bquote = 0;
|
||||
const char *yyp = yystr;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
||||
#define RUBY_VERSION_TEENY 0
|
||||
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
||||
#define RUBY_PATCHLEVEL 30
|
||||
#define RUBY_PATCHLEVEL 31
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2021
|
||||
#define RUBY_RELEASE_MONTH 2
|
||||
|
|
Loading…
Add table
Reference in a new issue