cloog_names_generate_items: fix generation of more than 9 names
commitb513451dd94fd5af466188c82287bb1e4db1f534
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 23 Feb 2008 09:31:43 +0000 (23 10:31 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 23 Feb 2008 12:40:29 +0000 (23 13:40 +0100)
treeb0dec54b989cbaeb2fc99ddff5c3bad7590ffc6c
parent72ffa865f3c0863309fc56a74ecb64c6b2eaf053
cloog_names_generate_items: fix generation of more than 9 names

We now also ignore the first_item argument when prefix is not NULL,
rather than assuming it is equal to '1'.
The only caller which sets prefix was adapted to clarify that
the last argument is ignored.

Based on a patch by Cedric Bastoul.
source/names.c
source/program.c