From 9a77fb3f18fab583301ef3d702259e68368de5d6 Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 24 Feb 2015 11:46:45 +0100 Subject: [PATCH] Correct str-> (terms evaluation) --- src/rpn-string.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/rpn-string.h b/src/rpn-string.h index 2537c2c..87796cf 100644 --- a/src/rpn-string.h +++ b/src/rpn-string.h @@ -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); } }