fix the putstring sys call indexing

index 0 is the marker word , so like in some, all indexes 1 based
works :-)
This commit is contained in:
Torsten Ruger
2015-11-15 22:03:06 +02:00
parent 8e82da0b61
commit f50d7b57a4
4 changed files with 4 additions and 6 deletions

View File

@ -15,7 +15,7 @@ class HelloTest < MiniTest::Test
@string_input = <<HERE
class Object
int main()
"Hello again\n".putstring()
return "Hello again\n".putstring()
end
end
HERE