Sauté the onion in a pan with the olive oil until brown and mix in the crused raisins and anise. Prepare the dough: Mix the flour, yeast, spices, sugar and salt, add the olive oil and water as needed until the dough has a smooth consistency. Leave to rest covered for 10 minutes. Cut and shape the dough into round patties, put one tablespoon of filling and fold into half moons. Sprinkle the sesame seeds onto the crescents and leave to rest. Bake in a preheated oven at 180°C until golden-brown.