xo-tokenizer: streamline input_state/tokenizer interaction + docs
This commit is contained in:
parent
093f8a4b7c
commit
21aa8978cf
3 changed files with 85 additions and 69 deletions
|
|
@ -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)
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue