# File lib/html5/html5parser.rb, line 150 def parse_error(code = 'XXX-undefined-error', data = {}) # XXX The idea is to make data mandatory. @errors.push([@tokenizer.stream.position, code, data]) raise ParseError if @strict end