add pet_stmt_print_body
commit7700b754261557bed50c33fd6cf022d799a48aa5
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 8 Jun 2013 06:03:52 +0000 (8 08:03 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 27 Jul 2013 09:09:37 +0000 (27 11:09 +0200)
tree779d4f893fa2dd8a3e78c291acc5128b3a0fafb0
parentb34ddc434cc43273b82e76aca9a1ac19e30ada97
add pet_stmt_print_body

This allows outside users to print the statement body after transformation.
We currently simply pretty-print the statement body directly from the pet_expr.
In future, we may want to copy pieces of the statement body from
the original source.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Makefile.am
include/pet.h
print.c [new file with mode: 0644]