Fry onions and carrots in oil for 3/5 mn. Add seasoning, fry for 1 mn. Add lentils, stock, salt and tomatoes. Boil, then reduce, cover and simmer until cooked. Add dry sherry, and top with Parmesan.