opal fix and minor
This commit is contained in:
parent
368263d5a5
commit
9ab7b476d5
@ -133,7 +133,7 @@ module Parfait
|
||||
string = ""
|
||||
index = 1
|
||||
while( index <= self.char_length)
|
||||
string[index - 1] = get_char(index).chr
|
||||
string += get_char(index).chr
|
||||
index = index + 1
|
||||
end
|
||||
string
|
||||
|
@ -30,7 +30,7 @@ module Statements
|
||||
str.gsub!("Register::","")
|
||||
ret = ""
|
||||
str.split(",").each_slice(7).each do |line|
|
||||
ret += " " + line.join(",") + " ,\n"
|
||||
ret += " " + line.join(",") + " ,\n"
|
||||
end
|
||||
ret
|
||||
end
|
||||
|
@ -14,7 +14,7 @@ class Object
|
||||
end
|
||||
end
|
||||
HERE
|
||||
@expect = [Label, GetSlot, SetSlot, Label, FunctionReturn]
|
||||
@expect = [Label, GetSlot, GetSlot, GetSlot, SetSlot, Label, FunctionReturn]
|
||||
check
|
||||
end
|
||||
|
||||
@ -60,8 +60,8 @@ class Object
|
||||
end
|
||||
end
|
||||
HERE
|
||||
@expect = [Label, GetSlot, SetSlot, GetSlot, GetSlot, SetSlot, Label ,
|
||||
FunctionReturn]
|
||||
@expect = [Label, RegisterTransfer, GetSlot, GetSlot, SetSlot, GetSlot, GetSlot ,
|
||||
SetSlot, Label, FunctionReturn]
|
||||
check
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user