debugging positions

This commit is contained in:
Torsten Ruger
2018-05-05 19:32:01 +03:00
parent d49d2665c5
commit 43d5521cfc
9 changed files with 30 additions and 17 deletions

View File

@ -45,9 +45,9 @@ module Risc
end
# labels have the same position as their next
def set_position( position )
def set_position( position , count = 0)
Positioned.set_position(self,position)
self.next.set_position(position) if self.next
self.next.set_position(position,count) if self.next
end
# shame we need this, just for logging