mirror of
https://github.com/louisrubet/rpn
synced 2025-01-05 11:01:52 +01:00
Correct str-> (terms evaluation)
This commit is contained in:
parent
6f9a94b34d
commit
9a77fb3f18
1 changed files with 2 additions and 3 deletions
|
@ -25,10 +25,9 @@ void strout()
|
||||||
program prog;
|
program prog;
|
||||||
|
|
||||||
// make program from string in stack level 1
|
// 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
|
// run it
|
||||||
//prog.run(st, *_heap);
|
prog.run(*_stack, *_heap);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue