From 2a0c35906d96203a3dc2b41cf8a1be74e025b285 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 9 Sep 2023 21:31:39 +0200 Subject: refactor: only use InternalState re-export for feature-gated internal API --- src/tokenizer/machine.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/tokenizer') 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, -- cgit v1.2.3