isl_input.c: read_term: allow terms starting with negative constant
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 16 Aug 2010 12:36:58 +0000 (14:36 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 18 Aug 2010 13:14:21 +0000 (15:14 +0200)
commit030a5fcdc2047f3ed59d11ab085482641421dc02
treee9985cf50c03d773d2577cd1f26dd7a7d09bbb42
parent4eecdb4abb1d5b45c31c92ba354373edd01d5c8c
isl_input.c: read_term: allow terms starting with negative constant

In particular, we used to fail to parse "1-3x" because -3 is treated
as a negative constant.  Now, we treat is in the same way as "1+-3x".

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_input.c