[前][次][番号順一覧][スレッド一覧]

ruby-changes:58306

From: Nobuyoshi <ko1@a...>
Date: Fri, 18 Oct 2019 14:59:46 +0900 (JST)
Subject: [ruby-changes:58306] e50b8949fa (master): Suppress numbered parameter warnings

https://git.ruby-lang.org/ruby.git/commit/?id=e50b8949fa

From e50b8949fad96a30226e4122172822a2a4c7301d Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 18 Oct 2019 14:59:26 +0900
Subject: Suppress numbered parameter warnings


diff --git a/template/unicode_norm_gen.tmpl b/template/unicode_norm_gen.tmpl
index c0044dd..c25d210 100644
--- a/template/unicode_norm_gen.tmpl
+++ b/template/unicode_norm_gen.tmpl
@@ -82,7 +82,7 @@ combining_class = {}  # constant to allow use in Integer#to_UTF8 https://github.com/ruby/ruby/blob/trunk/template/unicode_norm_gen.tmpl#L82
 
 # read the file 'UnicodeData.txt'
 vpath.foreach("#{InputDataDir}/UnicodeData.txt") do |line|
-  codepoint, name, _2, char_class, _4, decomposition, *_rest = line.split(";")
+  codepoint, name, _2_, char_class, _4_, decomposition, *_rest = line.split(";")
 
   case decomposition
   when /^[0-9A-F]/
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]