mirror of
https://github.com/louisrubet/rpn
synced 2025-01-01 18:20:06 +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;
|
||||
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue