public void Do(string s) { try { ResetAffected(); InitAllSeqs(); NewTrans(); ParseAndExec(s); Commit(); UpdateAffected(); /*/win remove for non-windowed version * if (txt != null && txt.Frm != null) txt.Frm.CmdShowCursor(); * if (!log.Ended()) MsgLn(""); * // remove for non-windowed version */ } catch (Exception e) { grouping = 0; cts = null; swallowing = false; root.nxt = null; root.sub = null; tail = root; InitAllSeqs(); SyncFormToTextAll(); Err(e.Message); if (!(e is ssException)) { throw e; } } }
CTree PopCmd() { if (cts != null) { CTree t = cts.t; cts = cts.nxt; grouping--; return(t); } else { throw new ssException("unmatched '}'"); } }
public CTreeList(CTree tt, CTreeList n, bool c) { t = tt; nxt = n; compound = c; }
void PushCmd(CTree t, bool c) { cts = new CTreeList(t, cts, c); grouping++; }