spelling: ellipsis

Signed-off-by: Josh Soref <[email protected]>
This commit is contained in:
Josh Soref
2024-10-29 16:55:43 +01:00
committed by Jindra Petřík
parent 3d94d2d0da
commit f22289bad8
@@ -57,7 +57,7 @@ public class PcodeGraphVizExporter {
private final String BLOCK_STYLE = "shape=\"box\"";
private static final int INS_LEN_LIMIT = 80;
private static final String ELIPSIS = "...";
private static final String ELLIPSIS = "...";
private String getBlockName(GraphSource list, GraphPart part) {
return "loc" + Helper.formatAddress(list.pos2adr(part.start, true));
@@ -209,17 +209,17 @@ public class PcodeGraphVizExporter {
Token t;
StringBuilder sb = new StringBuilder();
int lineStart = 0;
boolean afterElipsis = false;
boolean afterEllipsis = false;
int rawLen = 0;
try {
while ((t = lexer.yylex()) != null) {
if (t.type == TokenType.NEWLINE) {
sb.append("<BR />");
afterElipsis = false;
afterEllipsis = false;
lineStart = rawLen;
continue;
}
if (afterElipsis) {
if (afterEllipsis) {
continue;
}
String color = null;
@@ -278,8 +278,8 @@ public class PcodeGraphVizExporter {
sb.append("</FONT>");
}
if (tooLong) {
sb.append(ELIPSIS);
afterElipsis = true;
sb.append(ELLIPSIS);
afterEllipsis = true;
}
}
} catch (IOException ex) {