Parse compound assignment followed by a terminator.

Closes #2532.
Merge pull request #2627 from int3/master

Parse compound assignment operator followed by a terminator. Closes #2532.