Fixed 'Unknown op size' exception when uppercase sizes were used.

This commit is contained in:
2022-04-26 10:43:07 +02:00
parent ae92da7878
commit 5e2099f019
5 changed files with 6 additions and 4 deletions
@@ -105,7 +105,7 @@ object M68kPsiImplUtil {
// OperandSize
@JvmStatic
fun getSize(element: M68kOperandSize): Int =
when (element.text) {
when (element.text?.lowercase()) {
null -> OP_UNSIZED
".w" -> OP_SIZE_W
".l" -> OP_SIZE_L