fix from assign

This commit is contained in:
Torsten Ruger 2014-05-21 19:06:06 +03:00
parent 56afe575e1
commit 847a486288

View File

@ -38,7 +38,7 @@ module Vm
if kode.is_a? Hash
raise "Hack only for 1 element #{inspect} #{kode.inspect}" unless kode.length == 1
instruction , result = kode.first
instruction.result = result
instruction.assign result
kode = instruction
end
raise "alarm #{kode}" if kode.is_a? Word