From 6bf4d085f83b55469702969f0599e38a35c2f8ae Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 11 Aug 2013 16:03:35 +0800 Subject: checking the code in `builtin.cpp`, removed some bugs and redundancy --- builtin.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'builtin.h') diff --git a/builtin.h b/builtin.h index f9f039a..dce6fa3 100644 --- a/builtin.h +++ b/builtin.h @@ -15,16 +15,6 @@ const int EQUAL_QUEUE_SIZE = 262144; class SpecialOptIf: public SpecialOptObj {/*{{{*/ private: unsigned char state; /**< 0 for prepared, 1 for pre_called */ - /** - * The evaluator will call this after the exp is evaluated. - * And this function tells the evaluator which of and - * should be evaluted. */ - void pre_call(Pair *args, Pair *pc, Environment *envt); - /** The system will call this again after the desired result is - * evaluated, so just return it to let the evaluator know the it's the - * answer. - */ - EvalObj *post_call(Pair *args, Pair *pc, Environment *envt); public: /** Construct a `if` operator */ SpecialOptIf(); -- cgit v1.2.3