summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/HTML5/Parser/ParseError.php7
-rw-r--r--src/HTML5/Parser/Scanner.php4
2 files changed, 7 insertions, 4 deletions
diff --git a/src/HTML5/Parser/ParseError.php b/src/HTML5/Parser/ParseError.php
new file mode 100644
index 0000000..1744c85
--- /dev/null
+++ b/src/HTML5/Parser/ParseError.php
@@ -0,0 +1,7 @@
+<?php
+
+/**
+ * When the parser has an error.
+ */
+class ParseError extends Exception {
+} \ No newline at end of file
diff --git a/src/HTML5/Parser/Scanner.php b/src/HTML5/Parser/Scanner.php
index 1ce8428..5e45ffe 100644
--- a/src/HTML5/Parser/Scanner.php
+++ b/src/HTML5/Parser/Scanner.php
@@ -54,8 +54,4 @@ class Scanner {
public function getNumeric() {
$this->charsWhile('0123456789');
}
-
-
-}
-class ParseError extends Exception {
}