isl_input_omega.c: basic_map_read: accept "+" in constraints
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 20 Mar 2009 15:21:58 +0000 (16:21 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 20 Mar 2009 15:46:54 +0000 (16:46 +0100)
isl_input_omega.c

index c6ce108..cd02cc5 100644 (file)
@@ -266,6 +266,8 @@ static struct isl_basic_map *add_constraint(struct isl_stream *s,
                                isl_int_neg(tok->u.v, tok->u.v);
                        isl_int_add(bmap->ineq[k][1+pos],
                                        bmap->ineq[k][1+pos], tok->u.v);
+               } else if (tok->type == '+') {
+                       /* nothing */
                } else if (tok->type == ISL_TOKEN_LE) {
                        op = 1;
                        isl_seq_neg(bmap->ineq[k], bmap->ineq[k], 1+total);