Skip to content
Snippets Groups Projects
Commit 87bd5dec authored by Roland Kovács's avatar Roland Kovács
Browse files

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
parent 0307554f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment