PetScan::is_nested_allowed: check for skip conditions first
commit14b876ea9852313728248ddc215cda600ccbb720
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 7 Mar 2014 14:55:12 +0000 (7 15:55 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 19 Mar 2014 09:54:07 +0000 (19 10:54 +0100)
tree7b284552930c016cc57e515c5b489f4399676199
parentfef59f4d792f276f90c97d95f0d9ba1b35ac8a1a
PetScan::is_nested_allowed: check for skip conditions first

If there are any skip conditions, then no nested parameters are allowed,
so there is no need to consider the individual nested parameters
if there are any skip conditions.

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