diff options
Diffstat (limited to 'src/machine.rs')
-rw-r--r-- | src/machine.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/machine.rs b/src/machine.rs index 007f22f..c5bf021 100644 --- a/src/machine.rs +++ b/src/machine.rs @@ -2,11 +2,15 @@ use crate::attr::AttrValueSyntax; use crate::entities::try_read_character_reference; use crate::offset::{Offset, Position}; use crate::utils::{ - ascii_digit_pat, control_pat, ctostr, noncharacter_pat, surrogate_pat, whitespace_pat, - ControlToken, State, + ascii_digit_pat, control_pat, ctostr, noncharacter_pat, surrogate_pat, whitespace_pat, State, }; use crate::{reader::Reader, Emitter, Error, Tokenizer}; +pub enum ControlToken { + Eof, + Continue, +} + // Note: This is not implemented as a method on Tokenizer because there's fields on Tokenizer that // should not be available in this method, such as Tokenizer.to_reconsume or the Reader instance #[inline] |