aboutsummaryrefslogtreecommitdiff
path: root/model.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'model.cpp')
-rw-r--r--model.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/model.cpp b/model.cpp
index ba664a8..a56e530 100644
--- a/model.cpp
+++ b/model.cpp
@@ -24,7 +24,7 @@ bool FrameObj::is_parse_bracket() {
}
EvalObj::EvalObj(int _otype) :
- FrameObj(CLS_EVAL_OBJ), otype(_otype) {
+FrameObj(CLS_EVAL_OBJ), otype(_otype) {
gc_obj = gc.join(this);
}
@@ -139,5 +139,15 @@ string EvalObj::ext_repr() {
return res;
}
+ParseBracket::ParseBracket(unsigned char _btype) :
+FrameObj(CLS_SIM_OBJ | CLS_PAR_BRA), btype(_btype) {}
+
+UnspecObj::UnspecObj() : EvalObj(CLS_SIM_OBJ) {}
+
+ReprCons *UnspecObj::get_repr_cons() {
+ return new ReprStr("#<Unspecified>");
+}
+
+
Container::Container(int otype, bool override) :
- EvalObj(otype | (override ? 0 : CLS_CONTAINER)) {}
+EvalObj(otype | (override ? 0 : CLS_CONTAINER)) {}