125 |
NumberBinaryOp, VMScalarNumberResultFunction -> VMNumberResultFunction, |
NumberBinaryOp, VMScalarNumberResultFunction -> VMNumberResultFunction, |
126 |
method VMExpr::asScalarNumberExpr() -> VMExpr::asNumber(), function |
method VMExpr::asScalarNumberExpr() -> VMExpr::asNumber(), function |
127 |
isScalarNumber() -> isNumber()). |
isScalarNumber() -> isNumber()). |
128 |
|
- NKSP VM API: Added 4 overridden methods to class VMNumberExpr: |
129 |
|
evalCastInt(MetricPrefix_t), evalCastInt(MetricPrefix_t,MetricPrefix_t), |
130 |
|
evalCastReal(MetricPrefix_t), evalCastReal(MetricPrefix_t,MetricPrefix_t) |
131 |
|
as convenient methods for automatically converting values to expected |
132 |
|
metric value basis. |
133 |
|
- Built-in function "wait()" accepts now both integers and real numbers as |
134 |
|
argument. |
135 |
|
- NKSP VM API cleanup: Get rid of legacy method |
136 |
|
VMFunction::argType(vmint iArg) which was already superseded by its new |
137 |
|
replacement VMFunction::acceptsArgType(vmint iArg, ExprType_t type). |
138 |
|
- NKSP parser: if wrong argument type was passed to a built-in function and |
139 |
|
that built-in function accepts more than one data type for the argument, |
140 |
|
then show all supported data types as parser error message. |
141 |
|
|
142 |
* test cases: |
* test cases: |
143 |
- Fixed compiler errors in test cases. |
- Fixed compiler errors in test cases. |