andrew cassato wrote:weird that the error happens later.
Not at all. The line ending with the comma is perfectly valid -- it could be continued with more comma-separated declarations on the next line. It's not until
after that line that parser can possibly detect that something's gone awry.