Make high-level parse functions return next character.

This avoids various unpleasant edge-cases.