allow library users to specify names of statements for use in pretty printing
commitf083938cc983a40ea024e60e495cf8d363ca84e0
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 25 Jul 2010 17:10:47 +0000 (25 19:10 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 25 Jul 2010 17:10:47 +0000 (25 19:10 +0200)
tree80eea2ed97310335f03971855ef71a62daadb9b6
parent7a10c39d1bb98def7e27e73f45e31171f4d179c0
allow library users to specify names of statements for use in pretty printing

The default pretty printer produces code that is very suitable for
use in interactive environments.  The only problem is that there is
no way of specifying the names of the statements.
It is of course possible for library users to write their own pretty
printer, but this would lead to a lot of duplication.
Instead, with very minor changes, the default pretty printer is changed
to take statement names into account, if provided.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
include/cloog/statement.h
source/pprint.c
source/statement.c