Fix off-by-one line numbers.
Emit correct error line number for the parser.