aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-09-09 21:31:39 +0200
committerMartin Fischer <martin@push-f.com>2023-09-28 10:36:08 +0200
commit2a0c35906d96203a3dc2b41cf8a1be74e025b285 (patch)
tree04d2c6171ca5b89c4c9808c12202b96416ae3004 /src/tokenizer
parenta4846482707412f3cbacabeb082f25762a2636d5 (diff)
refactor: only use InternalState re-export for feature-gated internal API
Diffstat (limited to 'src/tokenizer')
-rw-r--r--src/tokenizer/machine.rs4
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,