Depended on the sweets. There was a whole bunch of allergies I don't even remember now. My whole gastrointestinal tract was perpetually sick (since birth), I would visit the hospital basically everyday. Most notably, I couldn't eat chocolate, because I was lactose- and gluten-intolerant. So I couldn't eat any sweets which had any chocolate in them, no sweets which were pastry-based etc.
Tangentially, in those times avoiding gluten wasn't as fashionable as it is today, and so there wasn't really any gluten-free bread to buy. My mum would bake bread herself for that purpose, because otherwise I wouldn't even be able to eat bread.