Fixed bogus test (which fails now): a backslash doesn't escape inside single quotes.
Correct handling of escaped chars in the lexer.