Bug fixes for character literals and escape sequences