pet_scop_extract_from_C_source: return NULL in case of errors
commit5d0920446a62e522feb73c5402fa43f8a1feb2bb
authorSven van Haastregt <svhaastr@liacs.nl>
Fri, 3 Feb 2012 11:23:53 +0000 (3 12:23 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 3 Feb 2012 11:57:47 +0000 (3 12:57 +0100)
tree24a3efd6f2b083f158c05ad42410ab731028777c
parent4f748e15ba5b41c124054c616df7942e42972159
pet_scop_extract_from_C_source: return NULL in case of errors

If the frontend detects one or more errors in the input, then
scop_extract_from_C_source returns NULL instead of a possibly
incomplete scop.

Signed-off-by: Sven van Haastregt <svhaastr@liacs.nl>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
pet.cc