Try to make this consume stretches of non-{ chars in a single call, so that not every character becomes its own token.