fix tests for indexed messages and frames
index_length changes index a bit but from now on changes to layouts should push the index automatically just have to set the index while calling now
This commit is contained in:
@ -35,7 +35,7 @@ module Soml
|
||||
val = process( arg)
|
||||
raise "Not register #{val}" unless val.is_a?(Register::RegisterValue)
|
||||
# which we load int the new_message at the argument's index (the one comes from c index)
|
||||
set = Register.set_slot( statement , val , :new_message , i + 1 + Parfait::Message.offset)
|
||||
set = Register.set_slot( statement , val , :new_message , Parfait::Message.get_indexed(i+1))
|
||||
add_code set
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user