small label changes

This commit is contained in:
Torsten Ruger 2015-11-15 00:35:43 +02:00
parent b30cf21bbd
commit cea60f202a
3 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ module Parfait
end end
def sof_reference_name def sof_reference_name
self.name "Method: " + self.name.to_s
end end
def inspect def inspect

View File

@ -158,7 +158,7 @@ module Parfait
private private
def check_length def check_length
raise "Length out of bounds #{self.char_length}" if self.char_length > 108 raise "Length out of bounds #{self.char_length}" if self.char_length > 1000
end end
end end
end end

View File

@ -18,7 +18,7 @@ module Register
"Label: #{@name} (#{self.next.class})" "Label: #{@name} (#{self.next.class})"
end end
def sof_reference_name def sof_reference_name
"Label: #{@name}" @name
end end
# a method start has a label of the form Class.method , test for that # a method start has a label of the form Class.method , test for that