From 398cec1fc5b9a9c0276907d6e9a03508be66fd74 Mon Sep 17 00:00:00 2001 From: PopSlime Date: Tue, 18 Apr 2023 09:47:37 +0800 Subject: [PATCH] Code cleanup. --- Assets/Cryville/Crtr/PdtBinder.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Assets/Cryville/Crtr/PdtBinder.cs b/Assets/Cryville/Crtr/PdtBinder.cs index fcaa96e..5beaa43 100644 --- a/Assets/Cryville/Crtr/PdtBinder.cs +++ b/Assets/Cryville/Crtr/PdtBinder.cs @@ -79,8 +79,6 @@ namespace Cryville.Crtr { var result = new SIdentifier[LoadedOperandCount]; for (int i = 0; i < LoadedOperandCount; i++) { var op = GetOperand(i); - if (op.Type != PdtInternalType.Undefined) - throw new InvalidCastException("Not an identifier"); result[i] = new SIdentifier(op.AsIdentifier()); } _cb(result);