diff options
author | Martin Fischer <martin@push-f.com> | 2023-09-09 21:31:39 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2023-09-28 10:36:08 +0200 |
commit | 2a0c35906d96203a3dc2b41cf8a1be74e025b285 (patch) | |
tree | 04d2c6171ca5b89c4c9808c12202b96416ae3004 /src/tokenizer | |
parent | a4846482707412f3cbacabeb082f25762a2636d5 (diff) |
refactor: only use InternalState re-export for feature-gated internal API
Diffstat (limited to 'src/tokenizer')
-rw-r--r-- | src/tokenizer/machine.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tokenizer/machine.rs b/src/tokenizer/machine.rs index fd4b36b..07d4c05 100644 --- a/src/tokenizer/machine.rs +++ b/src/tokenizer/machine.rs @@ -3,10 +3,12 @@ use crate::offset::{Offset, Position}; use crate::token::AttrValueSyntax; use crate::tokenizer::CdataAction; use crate::utils::{ - ascii_digit_pat, control_pat, ctostr, noncharacter_pat, surrogate_pat, whitespace_pat, State, + ascii_digit_pat, control_pat, ctostr, noncharacter_pat, surrogate_pat, whitespace_pat, }; use crate::{reader::Reader, Emitter, Error, Tokenizer}; +pub use crate::utils::State; + pub enum ControlToken { Eof, Continue, |