finished expr function.
This commit is contained in:
parent
78001212f8
commit
e249588a19
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user