Fix range in statement bug caused by incorrectly assigned addressing mode #461

This commit is contained in:
gingerBill committed 2019-11-02 10:57:42 +00:00
1 parent f9aaff99c6
commit dbdbbcd60f
4 files changed
+11 -90

No files matched your search

+1 -1
View File
@@ -6739,7 +6739,7 @@ bool check_range(CheckerContext *c, Ast *node, Operand *x, Operand *y, ExactValu
}
if (inline_for_depth_) *inline_for_depth_ = inline_for_depth;
} else {
} else if (inline_for_depth_ != nullptr) {
error(ie->op, "Interval expressions must be constant");
return false;
}