aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-09-09 21:42:17 +0200
committerMartin Fischer <martin@push-f.com>2023-09-28 10:36:08 +0200
commit2c73901944e2d22747a2a4ebcc11881b3f8c2ad3 (patch)
tree310726d807df6f6ae6911033dd31e5bd139a0559 /src/tokenizer.rs
parent2a0c35906d96203a3dc2b41cf8a1be74e025b285 (diff)
refactor: move utils module under tokenizer::machine
Diffstat (limited to 'src/tokenizer.rs')
-rw-r--r--src/tokenizer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs
index 7e05477..6f698f6 100644
--- a/src/tokenizer.rs
+++ b/src/tokenizer.rs
@@ -3,12 +3,12 @@ mod machine;
use crate::naive_parser::naive_next_state;
use crate::offset::{Offset, Position};
use crate::reader::{IntoReader, Reader};
-use crate::utils::{control_pat, noncharacter_pat, surrogate_pat};
use crate::{Emitter, Error};
+use machine::utils::{control_pat, noncharacter_pat, surrogate_pat};
use machine::ControlToken;
#[cfg(feature = "integration-tests")]
-use crate::utils::State as InternalState;
+pub use machine::State as InternalState;
// this is a stack that can hold 0 to 2 Ts
#[derive(Debug, Default, Clone, Copy)]