private void State_34() { if (ActionStack.Last() != ActionStack.WrongLexem) { Action returnState = ActionStack.Pop(); returnState(); } }
public static Action Pop() { Action returnValue = ActionStack.Last(); if (returnValue != ActionStack.WrongLexem) { _stack.RemoveAt(_stack.Count - 1); } return(returnValue); }