aboutsummaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-11 16:03:35 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-11 16:03:35 +0800
commit6bf4d085f83b55469702969f0599e38a35c2f8ae (patch)
treec00cba241a5f021edd268d57219a52f446351bfd /builtin.h
parent856267ebffee5506047fdb56d1b7b317566adaad (diff)
checking the code in `builtin.cpp`, removed some bugs and redundancyrestructure
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h10
1 files changed, 0 insertions, 10 deletions
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 <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();