mirror of
https://github.com/NationalSecurityAgency/ghidra
synced 2024-08-28 05:20:21 +00:00
GP-0: Fixing typo in sleigh error print (Closes #4597)
This commit is contained in:
parent
145abee008
commit
e835f91e50
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue