start by moving positioned(module) to position(class)

This commit is contained in:
Torsten Ruger
2018-05-05 19:47:18 +03:00
parent 43d5521cfc
commit d65a982454
14 changed files with 76 additions and 62 deletions

View File

@ -46,7 +46,7 @@ module Risc
# labels have the same position as their next
def set_position( position , count = 0)
Positioned.set_position(self,position)
Position.set_position(self,position)
self.next.set_position(position,count) if self.next
end