Flushing multi-parts code blocks