Fix `time` to measure control-flow blocks
This commit fixes the control-flow stack building
for the Statement::Time
variant.
Statement::Time
is handled as a block if parse()
returns a block-like (partial) statement wrapped by time
.
For convenience is_block()
is added to make the check
less verbose.
Fixes #829 (closed)