integer was wrong padded§ length

or rather right (2 as should be and will be)
but currently we use next AND value + type means 3, rounded 4
because we can’t swap types at compile time (as is planned at runtime,
we use next OR value)
This commit is contained in:
Torsten Ruger
2018-05-30 14:55:17 +03:00
parent 53107d3ef8
commit e86ca5ae9d
8 changed files with 72 additions and 30 deletions

View File

@ -3,7 +3,7 @@ require_relative "../helper"
class HelloTest < MiniTest::Test
def setup
Risc.machine
Risc.machine.boot
end
def check
Vool::VoolCompiler.ruby_to_binary( "class Space;def main(arg);#{@input};end;end" )