xo-tokenizer: streamline input_state/tokenizer interaction + docs

This commit is contained in:
Roland Conybeare 2025-06-25 07:48:44 -05:00
commit 21aa8978cf
3 changed files with 85 additions and 69 deletions

View file

@ -51,6 +51,8 @@ main() {
//input = input.after_prefix(consumed.size());
}
/* here: input.empty() or error encountered */
/* discard stashed remainder of input line
* (for nicely-formatted errors)
*/