I believe the "or" is more common. Imagine the poor teacher, who says to a student "You're not allowed to eat in here, as I've just told you." And the student says "I wasn't eating and drinking, which is what you said wasn't allowed. I was eating, ONLY.
Perhaps it was a law student. Two law students are eating lunch in class, and the professor says 'You're not allowed to eat your lunch in here'. The law students swap lunches and continue eating. (Presumably he gives them a good grade.)