summaryrefslogtreecommitdiff
path: root/src/tokenizer/machine
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-09-04 20:47:52 +0200
committerMartin Fischer <martin@push-f.com>2023-09-28 10:36:08 +0200
commitbd446b6123e0b077a48e9f1e836affac78822f44 (patch)
tree67be9838c95e03e967c59992d34e18c2ca1947ea /src/tokenizer/machine
parent4e0057344381a50cd76419be170eab3d9389f034 (diff)
chore: rename internal states as well
See the previous commit.
Diffstat (limited to 'src/tokenizer/machine')
-rw-r--r--src/tokenizer/machine/utils.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tokenizer/machine/utils.rs b/src/tokenizer/machine/utils.rs
index 4d59282..b38b8d9 100644
--- a/src/tokenizer/machine/utils.rs
+++ b/src/tokenizer/machine/utils.rs
@@ -311,16 +311,16 @@ pub(crate) use noncharacter_pat;
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum State {
Data,
- RcData,
- RawText,
+ Rcdata,
+ Rawtext,
ScriptData,
- PlainText,
+ Plaintext,
TagOpen,
EndTagOpen,
TagName,
- RcDataLessThanSign,
- RcDataEndTagOpen,
- RcDataEndTagName,
+ RcdataLessThanSign,
+ RcdataEndTagOpen,
+ RcdataEndTagName,
RawTextLessThanSign,
RawTextEndTagOpen,
RawTextEndTagName,