Friday, July 16, 2010

Escapes

Fixed a bug to introduce a new one. The lexer fails on '\t =>,' because, well, that is a tab, right? Somewhere, there is an escape/unescape statement too much...

Source code looks ok. Problem with these kind of bugs is that they are kind-of viral, you never know if you're fixing a bug of a previous compiler.

Which it was, fixed the same bug in stage 1. Rerunning the unit tests. I need unit tests for handling escapes.

No comments:

Post a Comment