Allow wrapping C blocks in the middle of a stack

Fixes #224.