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