It would depend a lot on the volume of acid or
base you ate - if it was only a microliter ( 1
cubic millimeter), you would probably be OK,
because it would quickly get diluted with your
saliva - but you might have a tiny wound on
your tongue where it hit.
Base tends to be harder on the skin than acid,
in my experience as a chemist. Acid eats through
cotton lab coats much faster than bases, but
bases make the skin very sore, and they seem to
be hard to rinse off - they feel slimy; but
maybe that's just how they feel even when they're
very dilute - I don't know.
... Cool! I looked up: "pH 1"
acid concentration - on google, and I found a
site that says stomach acid is pH 1 ! So that
must be not too dangerous, since you get it all
the way up to your mouth when you vomit.