ruby-changes:62200
From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Mon, 13 Jul 2020 08:56:46 +0900 (JST)
Subject: [ruby-changes:62200] 5783d84a17 (master): fix typo
https://git.ruby-lang.org/ruby.git/commit/?id=5783d84a17 From 5783d84a170356a30b7cc578493880eb67ebda56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= <shyouhei@r...> Date: Fri, 10 Jul 2020 14:53:48 +0900 Subject: fix typo diff --git a/tool/mk_builtin_loader.rb b/tool/mk_builtin_loader.rb index 8f78b66..639e53a 100644 --- a/tool/mk_builtin_loader.rb +++ b/tool/mk_builtin_loader.rb @@ -311,7 +311,7 @@ def mk_builtin_header file https://github.com/ruby/ruby/blob/trunk/tool/mk_builtin_loader.rb#L311 f.puts %' fprintf(f, " const VALUE *argv = GET_EP() - lnum - VM_ENV_DATA_SIZE + 1 + %ld;\\n", index);' f.puts %' }' end - f.puts %' fprintf(f, " func f = (func)%p\\n;", (const void *)#{cfunc_name});' + f.puts %' fprintf(f, " func f = (func)%p;\\n", (const void *)#{cfunc_name});' f.puts %' fprintf(f, " val = f(ec, GET_SELF()#{argv});\\n");' end f.puts %'}' -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/