summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rwxr-xr-xtool/mjit/bindgen.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/mjit/bindgen.rb b/tool/mjit/bindgen.rb
index 750fde9805..98d89e17a4 100755
--- a/tool/mjit/bindgen.rb
+++ b/tool/mjit/bindgen.rb
@@ -131,7 +131,9 @@ class BindingGenerator
# Define macros
@macros.each do |macro|
- println " def C.#{macro} = #{generate_macro(macro)}"
+ println " def C.#{macro}"
+ println " #{generate_macro(macro)}"
+ println " end"
println
end