dart-lang/html5lib — pull request #11 by jmesserly (2012-08-29 03:40:04+00:00)
Title: introduce Token class

This change introduces a Token class & appropriate subclasses.

Note: all tests are passing in unchecked, but in checked mode it causes segfault in the Dart VM optimizer. See http://code.google.com/p/dart/issues/detail?id=4797.

I'm not sure if it's my bug or a VM bug (or both), so for now I disabled checked mode. As soon as the VM team investigates I can make any fixes that are needed to html5lib.

Fixes: https://github.com/dart-lang/html5lib/issues/4