1

Resolved

Give line number for error

description

When doing himecc on an empty file, there is an error. But no line number is given for the error. It would be nice to have this piece of information.

comments

lwouters wrote Oct 22, 2011 at 8:39 AM

On an empty input the internal parser is fed an unexpected token '$' (end of file).
Two problems:
1) The unexpected token error message does not have a line number.
2) On multiple inputs with multiple errors, it is not possible for a user to know which error is associated to which input.
These are improvement tracks, I change this ticket from issue to task.

lwouters wrote Oct 22, 2011 at 9:31 AM

fixed