fix handling of compound statements with initial partial scop when autodetecting
commit61fc3b8f78c581e4091a767b84ee57ab4670921c
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 30 Jul 2013 09:19:56 +0000 (30 11:19 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 30 Jul 2013 09:19:56 +0000 (30 11:19 +0200)
treec8702f84f89d1d79ad493e5dd4256197e5586cff
parent042c610bbd35371eeb09db392b35d27b796fc71e
fix handling of compound statements with initial partial scop when autodetecting

If the partial scop is the first scop we find in the compound statement,
then we intended to keep it as the scop of the compound statement,
but this behavior was broken in 01193ea (accept compound statements with
zero statements when autodetecting, Mon Aug 22 13:39:33 2011 +0200).

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