This happened to Missy & Max recently. They both ate something that didnt agree with them and had diariah for 2 days so the vet gave me antibiotics. Once they took the antibiotics they didnt have diariah anymore, they were constapated. They didnt pass a bowl for 4 days, the vet told me it was probably because I was feeding them a bland diet and it didnt have much substance, so I fed them their regular food and they both looked so bloated, I took them on a walk and shortly after that they passed about 4 days worth lol.. I was worried when they wen't 4 days with out passing a bowl but they vet said as long as they dont appear in discomfort they should be fine. They did pass once they were full enough and got some excersize.
I hope Yoda's stomach troubles are over really soon so his Daddy doesnt worry anymore

Good luck and please keep us posted. We'll be thinking of him.