Added string escape characters.
Better error construction for invalid integer base.
Error on invalid escape character.
Added support for C escape characters in generator.