"expecting %s",
dtype->desc);
- if (dtype == NULL && i->dtype->size == 0)
- return expr_binary_error(ctx->msgs, i, *expr,
- "can not use variable sized "
- "data types (%s) in concat "
- "expressions",
- i->dtype->name);
-
if (dtype == NULL)
tmp = datatype_lookup(TYPE_INVALID);
else
return -1;
flags &= i->flags;
+ if (dtype == NULL && i->dtype->size == 0)
+ return expr_binary_error(ctx->msgs, i, *expr,
+ "can not use variable sized "
+ "data types (%s) in concat "
+ "expressions",
+ i->dtype->name);
+
ntype = concat_subtype_add(ntype, i->dtype->type);
}