at least its in shape to start debugging again (that must count as half full)

This commit is contained in:
Torsten Ruger
2014-05-05 22:21:11 +03:00
parent 69b04d930f
commit 7d20b5e2df
15 changed files with 154 additions and 160 deletions

View File

@@ -1,10 +1,10 @@
require 'asm/nodes'
require 'asm/block'
require 'arm/nodes'
require 'arm/block'
require 'stream_reader'
require 'stringio'
require "asm/string_literal"
require "arm/string_literal"
module Asm
module Arm
# Assembler is the the top-level of the code hierachy, except it is not derived from code
# instead a Assembler is a list of blocks (and string constants)
@@ -43,7 +43,7 @@ module Asm
def add_string str
code = @string_table[str]
return code if code
data = Asm::StringLiteral.new(str)
data = Arm::StringLiteral.new(str)
@string_table[str] = data
end