From e249588a1970538fdf0e6883a57ce26be79160e6 Mon Sep 17 00:00:00 2001 From: Brad Arant Date: Mon, 18 Nov 2024 13:08:28 -0800 Subject: [PATCH] finished expr function. --- Operand.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Operand.cpp b/Operand.cpp index f24fb93..2d9ff01 100644 --- a/Operand.cpp +++ b/Operand.cpp @@ -54,10 +54,10 @@ namespace jet { throw coreutils::Exception("Expecting ) at end of LEFT expression."); } else if(in.ifNextIgnoreCase("EXPR")) { if(!in.ifNext("(")) - throw coreutils::Exception("Expecting ( for LEFT parameters."); + throw coreutils::Exception("Expecting ( for EXPR parameters."); Operand parm1(in, global, lvariables); if(in.ifNext(")")) { - Operand op(in, global, lvariables); + Operand op(parm1.string, global, lvariables); string = op.string; isNumber = op.isNumber; boolean = op.boolean;