summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-01-17 16:46:38 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-01-22 19:39:34 +0900
commitd940e3b2c3c413b697c415718d4ef0991e75383f (patch)
tree373e65f57aa99f692079572ffd20d561e6c377bc /tool
parent127b19ab561b5365884b465d50356a1e4019713c (diff)
`cexpr!` must be up to one per line now
Diffstat (limited to 'tool')
-rwxr-xr-xtool/rjit/bindgen.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/rjit/bindgen.rb b/tool/rjit/bindgen.rb
index 4022726302..fb26b94aa4 100755
--- a/tool/rjit/bindgen.rb
+++ b/tool/rjit/bindgen.rb
@@ -183,7 +183,8 @@ class BindingGenerator
raise "Non-immediate type is given to dynamic_types: #{type}"
end
println " def C.#{type}"
- println " @#{type} ||= CType::Immediate.find(Primitive.cexpr!(\"SIZEOF(#{type})\"), Primitive.cexpr!(\"SIGNED_TYPE_P(#{type})\"))"
+ println " @#{type} ||= CType::Immediate.find(Primitive.cexpr!(\"SIZEOF(#{type})\"),"
+ println " Primitive.cexpr!(\"SIGNED_TYPE_P(#{type})\"))"
println " end"
println
end