public void OutStack(ICQ_Expression expr) { if (stackExpr.Peek() != expr) { throw new Exception("OutStack error:" + expr.ToString() + " err:" + stackExpr.Peek().ToString()); } stackExpr.Pop(); }
public void OutStack(ICQ_Expression expr) { if (!useDebug) { return; } if (stackExpr.Peek() != expr) { if (expr.hasCoroutine) { DepthRemove(); } else { throw new Exception("OutStack error:" + expr.ToString() + " err:" + stackExpr.Peek().ToString()); } } stackExpr.Pop(); }