Sounds like it could be a hematoma or abscess, probably from a tooth. Can you get him to a vet tomorrow to have it checked out? Sometimes they need drained/antibiotics.
"In order to really enjoy a dog, one doesn't merely try to train him to be semihuman. The point of it is to open oneself to the possibility of becoming partly a dog." - Edward Hoagland