Add comment

This commit is contained in:
Clément Fournier
2020-03-02 19:05:53 +01:00
parent fc0b437ad7
commit e535c3edab

View File

@ -318,6 +318,7 @@ public class ASTLiteral extends AbstractJavaTypeNode {
private static void interpretEscapeSequences(StringBuilder sb) {
// interpret escape sequences "\<LF>" (line continuation), "n","t","b","r","f", "s", "\"", "\'", "\\"
// we need to interpret everything in one pass, so regex replacement is inappropriate
for (int i = 0; i < sb.length(); i++) {
char c = sb.charAt(i);
if (c == '\\' && i < sb.length() - 1) {