diff options
Diffstat (limited to 'model.cpp')
-rw-r--r-- | model.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -27,6 +27,11 @@ bool FrameObj::is_parse_bracket() { return ftype & CLS_PAR_BRA; } +EvalObj::EvalObj(const EvalObj &src) : +FrameObj(CLS_EVAL_OBJ), otype(src.otype) { + gc_rec = gc.join(this); +} + EvalObj::EvalObj(int _otype) : FrameObj(CLS_EVAL_OBJ), otype(_otype) { /** To notify GC when an EvalObj is constructed */ |