fixed, nay, hacked list problem

lists were in object space but not liked due to
equality returning true
This commit is contained in:
Torsten Ruger
2015-06-08 11:52:56 +02:00
parent 5b3045e42a
commit 0122585b3b
3 changed files with 11 additions and 2 deletions

View File

@ -54,6 +54,7 @@ module Register
begin
link
all= @machine.objects.sort{|a,b| a.position <=> b.position}
# debugging loop accesses all positions to force an error if it's not set
all.each do |objekt|
puts "Linked #{objekt.class}(#{objekt.object_id.to_s(16)}) at #{objekt.position.to_s(16)} / #{objekt.word_length.to_s(16)}"
objekt.position