add global variable space

could in the long run move spaces functionality to the class
and since the class is global anyway, wouldn’t need this
This commit is contained in:
Torsten Ruger
2015-11-07 12:19:04 +02:00
parent b1939e9828
commit 9ebe28450b
4 changed files with 16 additions and 2 deletions

View File

@ -5,7 +5,7 @@ module Soml
reset_regs # statements reset registers, ie have all at their disposal
#puts statement.inspect
name , value = *statement
name = name.to_a.first
name = no_space name.to_a.first
v = process(value)
raise "Not register #{v}" unless v.is_a?(Register::RegisterValue)
code = nil