I wasn't aware there were foods to avoid with a fungal tongue infection. However, if you eat something and it makes your tongue painful, avoid it. I would think if you have sores that anything acidic like tomatoes, orange juice, pineapple, chocolate might make the pain worse. If you do an internet search you'll surely find more information.
Soibhan