isl_map_read: fix typo
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 28 Apr 2010 14:26:01 +0000 (16:26 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 28 Apr 2010 17:07:17 +0000 (19:07 +0200)
isl_input.c

index 9d9788f..01580f4 100644 (file)
@@ -1312,7 +1312,7 @@ static struct isl_obj obj_read(struct isl_stream *s, int nparam)
                }
                isl_token_free(tok);
                tok = isl_stream_next_token(s);
-       } if (nparam > 0)
+       } else if (nparam > 0)
                bmap = isl_basic_map_add(bmap, isl_dim_param, nparam);
        if (!tok || tok->type != '{') {
                isl_stream_error(s, tok, "expecting '{'");