summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/token.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/token.rs b/src/token.rs
index cb584ff..3104a61 100644
--- a/src/token.rs
+++ b/src/token.rs
@@ -21,6 +21,8 @@ pub enum Token<O> {
Comment(Comment<O>),
/// An HTML doctype declaration.
Doctype(Doctype<O>),
+ /// An end-of-file token.
+ EndOfFile,
}
/// An HTML start tag, such as `<p>` or `<a>`.