chars = CharSupport.getStringFromGrammarStringLiteral(chars);
if (chars == null) {
right = left;
g.tool.errMgr.grammarError(ErrorType.INVALID_ESCAPE_SEQUENCE,
g.fileName, stringLiteralAST.getToken());
<BUG>} else {
int n = chars.length();</BUG>
ATNState prev = left;
right = null;
for (int i = 0; i < n; i++) {

chars = CharSupport.getStringFromGrammarStringLiteral(chars);
if (chars == null) {
right = left;
g.tool.errMgr.grammarError(ErrorType.INVALID_ESCAPE_SEQUENCE,
g.fileName, stringLiteralAST.getToken());
return new Handle(left, left);
}
int n = chars.length();
ATNState prev = left;
right = null;
for (int i = 0; i < n; i++) {
