Update reference/syntax.rst

Spawn, wait, critical statements added.