PetScan::extract(StmtRange, bool, bool): break out early on NULL scop
commitf73aaba0d817f6c2fe50295b1e027951e77ae233
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 17 Aug 2013 11:37:27 +0000 (17 13:37 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 17 Aug 2013 11:37:27 +0000 (17 13:37 +0200)
treea9c9bd9a2b106e1b067d8258cf80294e7fc7aae6
parent9ac78a1f8c302b9886322c80f03fa0aa5b485a8f
PetScan::extract(StmtRange, bool, bool): break out early on NULL scop

Commit 61fc3b8 (fix handling of compound statements with initial partial
scop when autodetecting, Tue Jul 30 11:19:56 2013 +0200) introduced
a test on one of the members of scop, which breaks down if scop has
become NULL due to some (parsing) error.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
scan.cc