summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/machine.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine.rs b/src/machine.rs
index 9f728dd..5222735 100644
--- a/src/machine.rs
+++ b/src/machine.rs
@@ -326,7 +326,7 @@ pub fn consume<R: Reader, E: Emitter>(slf: &mut Tokenizer<R, E>) -> Result<Contr
}
c => {
slf.emitter.emit_string("<");
- slf.state = State::Data;
+ slf.state = State::ScriptData;
slf.unread_char(c);
Ok(ControlToken::Continue)
}