Add error message for incomplete block inside function definition