diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-09-18 23:32:59 +0900 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-09-23 06:44:28 +0900 |
| commit | 2f5b37533e6129646ddfacffc3da34be02bc9e87 (patch) | |
| tree | 673cc226e7cdacba7425962586b5262569e75a1e /tool/mjit | |
| parent | 591c3c7a1aae41bb2702dc40609a9bcae0e40ea5 (diff) | |
Builtin needs to be baseruby-compatible
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6418
Diffstat (limited to 'tool/mjit')
| -rwxr-xr-x | tool/mjit/bindgen.rb | 4 |
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 |
