diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-07-10 14:53:48 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-07-13 08:56:18 +0900 |
commit | 5783d84a170356a30b7cc578493880eb67ebda56 (patch) | |
tree | 8a841163df26dfb5740d6c4d6864f39391126e25 /tool | |
parent | 9721f477c7f33d64af94fad4a1ca51f739b0b08f (diff) | |
download | ruby-5783d84a170356a30b7cc578493880eb67ebda56.tar.gz |
fix typo
Diffstat (limited to 'tool')
-rw-r--r-- | tool/mk_builtin_loader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mk_builtin_loader.rb b/tool/mk_builtin_loader.rb index 8f78b660d8..639e53a9c5 100644 --- a/tool/mk_builtin_loader.rb +++ b/tool/mk_builtin_loader.rb @@ -311,7 +311,7 @@ def mk_builtin_header file 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 %'}' |