diff options
Diffstat (limited to 'test/HTML5/Parser/EventStack.php')
-rw-r--r-- | test/HTML5/Parser/EventStack.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/HTML5/Parser/EventStack.php b/test/HTML5/Parser/EventStack.php index 68f0aa9..36e2f29 100644 --- a/test/HTML5/Parser/EventStack.php +++ b/test/HTML5/Parser/EventStack.php @@ -62,7 +62,9 @@ class EventStack implements EventHandler { } public function parseError($msg, $line, $col) { - throw new EventStackParseError(sprintf("%s (line %d, col %d)", $msg, $line, $col)); + //throw new EventStackParseError(sprintf("%s (line %d, col %d)", $msg, $line, $col)); + //$this->store(sprintf("%s (line %d, col %d)", $msg, $line, $col)); + $this->store('comment', func_get_args()); } |