fix position handling

This commit is contained in:
Torsten Ruger 2014-08-30 17:08:30 +03:00
parent 6d67c03cc9
commit 050a8ada9f

View File

@ -167,11 +167,13 @@ module Virtual
# position of the function is the position of the entry block, is where we call
def set_position at
@blocks.each do |block|
blocks.set_position at
block.set_position at
at = at + block.length
end
end
def position
@blocks.first.position
end
end
end