diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-11 16:03:35 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-11 16:03:35 +0800 |
commit | 6bf4d085f83b55469702969f0599e38a35c2f8ae (patch) | |
tree | c00cba241a5f021edd268d57219a52f446351bfd /builtin.h | |
parent | 856267ebffee5506047fdb56d1b7b317566adaad (diff) |
checking the code in `builtin.cpp`, removed some bugs and redundancyrestructure
Diffstat (limited to 'builtin.h')
-rw-r--r-- | builtin.h | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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 <condition> exp is evaluated. - * And this function tells the evaluator which of <consequence> and - * <alternative> 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(); |