In particular, accept sets without a tuple, e.g.,
[N] -> { : N >= 1 }
At this moment, no distinction is made between a "parameter domain"
and a zero-dimensional set. However, this will change in the near
future and so we need to have a different notation for these two
types of sets. We start by allowing the new notation for parameter
domains.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
if (is_rational(s))
map = isl_map_set_rational(map);
+ if (isl_stream_next_token_is(s, ':')) {
+ obj.type = isl_obj_set;
+ obj.v = read_optional_disjuncts(s, map, v);
+ return obj;
+ }
+
if (!next_is_tuple(s))
return obj_read_poly_or_fold(s, map, v, n);