diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-13 20:44:03 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-13 20:44:03 +0800 |
commit | 9982fba5f471944a2e5ab1edac97c971eb557416 (patch) | |
tree | e3a7f37b00d9034b807024eb232eefb9d1659540 /model.cpp | |
parent | cfb7f91f0153250b009a68b076ef4d1e6f12c4eb (diff) |
fixed a mem leak in parser.cpp
Diffstat (limited to 'model.cpp')
-rw-r--r-- | model.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,10 @@ bool FrameObj::is_parse_bracket() { EvalObj::EvalObj(int _otype) : FrameObj(CLS_EVAL_OBJ), otype(_otype) {} +bool EvalObj::is_container() { + return otype & CLS_CONTAINER; +} + void EvalObj::prepare(Pair *pc) {} bool EvalObj::is_simple_obj() { |