This makes it even more likely that there is an obstruction. I would keep a close eye on him tonight and see the vet if you have concerns but definitely see the vet in the morning, no matter what.
He might have a simple problem like parasites (which can be ruled out with a fecal exam) but you won't know until you see the vet.
Let me know if you need more help!