diff options
author | Matt Farina <[email protected]> | 2013-04-10 09:40:59 -0400 |
---|---|---|
committer | Matt Farina <[email protected]> | 2013-04-10 09:40:59 -0400 |
commit | 2ec566af35cc522baba481323674231f22fa3e05 (patch) | |
tree | b8dc8afabe0c840f8b08832a475de4a6e4236ea9 /src/HTML5/Parser | |
parent | 1d83d20966c158df5aee1677a90fd8e115f6d392 (diff) |
Moved the ParseError exception to it's own file. I had trouble finding it so this was helpful for me.
Diffstat (limited to 'src/HTML5/Parser')
-rw-r--r-- | src/HTML5/Parser/ParseError.php | 7 | ||||
-rw-r--r-- | src/HTML5/Parser/Scanner.php | 4 |
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 { } |