Fixed #1109: Parse yield expressions.

Also fixed #387.
Also fixed #1108.