Fix collapse operators not correctly parsed after the scope is downgraded.

This commit is contained in:
2023-03-26 22:40:19 +08:00
parent 88a6410439
commit aafc326f95

View File

@@ -195,7 +195,7 @@ namespace Cryville.Common.Pdt {
default: pc++; break; default: pc++; break;
} }
} }
else if (OP_TYPE[t2.Value[0]] == 1) { if (OP_TYPE[t2.Value[0]] == 1) {
colp = new Dictionary<LinkedListNode<PdtInstruction>, string> { { ins.Last, t2.Value } }; colp = new Dictionary<LinkedListNode<PdtInstruction>, string> { { ins.Last, t2.Value } };
} }
t1 = t2; t1 = t2;