mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-0: Fixing typo in sleigh error print (Closes #4597)
This commit is contained in:
@@ -153,7 +153,7 @@ public class TokenPattern {
|
||||
else if (tok2.getRightEllipsis()) {
|
||||
if (tok2.toklist.size() != minsize) {
|
||||
throw new SleighError(String.format("Mismatched pattern sizes -- %d vs %d",
|
||||
tok1.toklist.size(), minsize), location);
|
||||
tok2.toklist.size(), minsize), location);
|
||||
}
|
||||
else if (tok1.toklist.size() == tok2.toklist.size()) {
|
||||
throw new SleighError("Pattern size cannot vary (missing ... ?)", location);
|
||||
|
||||
Reference in New Issue
Block a user