Havvy/FTL — pull request #17 by r3 (2012-11-29 11:01:14+00:00)
Title: Freshly baked tests

Fixed tests, removed defunct test for the removed lexer._extract_occurance. Ammended lexer.pprint to display the start and end attributes. Added __eq__ method to token superclass that compares the proper attributes of a token to ensure that they're equal (not identical). This was necessary for the tests to work and I see no reason not to have it here instead of baking it into the tests. All tests pass, everything is gravy.