rubyx/lib/mom/macro/method_missing.rb
Torsten Rüger d913bb01de use method missing in resolve method
not just exit
try to print name next
2019-09-15 15:13:11 +03:00

14 lines
373 B
Ruby

module Mom
class MethodMissing < Macro
def to_risc(compiler)
builder = compiler.builder(compiler.source_name)
builder.build do
factory! << Parfait.object_space.get_factory_for(:Integer)
integer_tmp! << factory[:reserve]
Mom::Macro.emit_syscall( builder , :died ) #uses integer_tmp
end
return compiler
end
end
end