Correct str-> (terms evaluation)

This commit is contained in:
Louis 2015-02-24 11:46:45 +01:00
parent 6f9a94b34d
commit 9a77fb3f18

View file

@ -25,10 +25,9 @@ void strout()
program prog;
// make program from string in stack level 1
if (prog.parse(entry, *this) == ret_good_bye)
if (program::parse(entry, prog) == ret_ok)
{
//stack st;
// run it
//prog.run(st, *_heap);
prog.run(*_stack, *_heap);
}
}