return compiler, not generated mom
does make the tests more verbose, but the code cleaner
This commit is contained in:
@ -23,7 +23,7 @@ module Risc
|
||||
when "Interpreter"
|
||||
return Risc::InterpreterPlatform.new
|
||||
else
|
||||
raise "not recignized platform #{name}"
|
||||
raise "not recognized platform #{name.class}:#{name}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user