moving string to parfait

using parfait::word
also rename builtins string to word
This commit is contained in:
Torsten Ruger
2015-05-13 16:17:10 +03:00
parent baca6eb4c6
commit 9d711e7766
16 changed files with 50 additions and 60 deletions

View File

@ -36,7 +36,7 @@ module Elf
assembler.objects.values.each do |slot|
label = "#{slot.class.name}::#{slot.position.to_s(16)}"
label += "=#{slot}" if slot.is_a?(Symbol) or slot.is_a?(String)
label += "=#{slot.string}" if slot.is_a?(Virtual::StringConstant)
label += "=#{slot.string}" if slot.is_a?(Parfait::Word)
add_symbol label , slot.position
end
end