CPD Results
The following document contains the results of PMD's CPD 6.42.0.
Duplications
File | Line |
---|---|
org/mal_lang/lib/Lexer.java | 286 |
org/mal_lang/lib/Lexer.java | 314 |
if (input[index] < 32 || input[index] > 126) { throw exception(String.format("Invalid escape byte 0x%02X", input[index])); } consume(); var lexemeString = getLexemeString(); String escapeSequence = lexemeString.substring(lexemeString.length() - 2); lexeme = lexeme.subList(0, lexeme.size() - 2); if (!escapeSequences.containsKey(escapeSequence)) { throw exception(String.format("Invalid escape sequence '%s'", escapeSequence)); } lexeme.add(escapeSequences.get(escapeSequence)); } else { |