Actually, I think the right answer is that if `token.startPos` isn't set, just set both the start and end to `token.endPos` (since that's really where the error is).