Parser.ensureState

void ensureState() @safe

If current event is invalid, load the next valid one if possible.