diff --git a/src/parser/analyzer.c b/src/parser/analyzer.c
index f12dff2005a953d39910eec9ce8e026f67c4be95..ecae40f890c2842d82f92d701ab0a8e3137025f9 100644 (file)
--- a/src/parser/analyzer.c
+++ b/src/parser/analyzer.c
static int
analyze_arith(context_t ctx, sdb_ast_op_t *op, sdb_strbuf_t *errbuf)
{
- if (ctx.iter) {
- op_error(errbuf, op, "cannot evaluate in iterator context");
- return -1;
- }
-
if (analyze_node(ctx, op->left, errbuf))
return -1;
if (analyze_node(ctx, op->right, errbuf))