summaryrefslogtreecommitdiffstatshomepage
path: root/py/parse.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-15 22:14:03 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-15 22:14:03 +0000
commitd02c6d896292d585ba2a46c194cfe00da33a2a72 (patch)
treef8b20e6dee9ffa961120162710b413d265f77152 /py/parse.c
parente2fb2baaa48ef6da317a533b5d168b1ab0fcefe8 (diff)
downloadmicropython-d02c6d896292d585ba2a46c194cfe00da33a2a72.tar.gz
micropython-d02c6d896292d585ba2a46c194cfe00da33a2a72.zip
Implement eval.
Diffstat (limited to 'py/parse.c')
-rw-r--r--py/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/parse.c b/py/parse.c
index e26e235aa3..49b42e5d77 100644
--- a/py/parse.c
+++ b/py/parse.c
@@ -284,7 +284,7 @@ mp_parse_node_t mp_parse(mp_lexer_t *lex, mp_parse_input_kind_t input_kind, qstr
int top_level_rule;
switch (input_kind) {
case MP_PARSE_SINGLE_INPUT: top_level_rule = RULE_single_input; break;
- //case MP_PARSE_EVAL_INPUT: top_level_rule = RULE_eval_input; break;
+ case MP_PARSE_EVAL_INPUT: top_level_rule = RULE_eval_input; break;
default: top_level_rule = RULE_file_input;
}
push_rule(parser, rules[top_level_rule], 0);