no-comma-dangle reports correct line number

Fixes #720.