replace pet_stmt_from_pet_expr by pet_stmt_from_pet_tree
commit558bb5a2f0e0b012fa7b93adafe7c4c09f2c9ebd
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 27 Jan 2014 15:35:47 +0000 (27 16:35 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 31 Mar 2014 12:08:03 +0000 (31 14:08 +0200)
tree17c5a6ea3be64d6c83e80ea7b0e36ef310865d32
parentf988c206ac5afee2508801ed25917a35c8101b2f
replace pet_stmt_from_pet_expr by pet_stmt_from_pet_tree

The previous commit moved to pet_tree objects for representing
a statement body, but we could only create statements that have
an expression tree as statement body.
By replacing pet_stmt_from_pet_expr by pet_stmt_from_pet_tree
we allow statements with other types of trees as bodies.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
scop.c
scop.h
skip.c
tree.c
tree.h
tree2scop.c