| 3436 | uncalledFunc = NULL; |
| 3437 | } |
| 3438 | void ThrowConstantFoldError(const char *pos) |
| 3439 | { |
| 3440 | if(CodeInfo::nodeList.back()->nodeType != typeNodeNumber) |
| 3441 | { |
| 3442 | if(uncalledFunc) |
| 3443 | ThrowError(uncalledPos, "ERROR: array size must be a constant expression. During constant folding, '%s' function couldn't be evaluated", uncalledFunc->name); |
| 3444 | else |
| 3445 | ThrowError(pos, "ERROR: array size must be a constant expression"); |
| 3446 | } |
| 3447 | } |
| 3448 | |
| 3449 | TypeInfo* GetGenericFunctionRating(FunctionInfo *fInfo, unsigned &newRating, unsigned count) |
| 3450 | { |
no test coverage detected