error reporting: line number and lexeme index added to error report