Render loops and switches in the structured pdc output ##pseudo