summaryrefslogtreecommitdiffstatshomepage
path: root/py/parse.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-11-17 14:00:14 +0000
committerDamien George <damien.p.george@gmail.com>2015-11-17 14:00:14 +0000
commit2c838942574a4970c922d1550f04e4b7b4d865a6 (patch)
treec2ec4759caf8e43a353a8569f47d7687fd5cda6e /py/parse.c
parentcbd9ae5256731c24a4cebf1b1d9bdbfac5df8792 (diff)
downloadmicropython-2c838942574a4970c922d1550f04e4b7b4d865a6.tar.gz
micropython-2c838942574a4970c922d1550f04e4b7b4d865a6.zip
py: Implement default and star args for lambdas.
Diffstat (limited to 'py/parse.c')
-rw-r--r--py/parse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/py/parse.c b/py/parse.c
index 54c58fbcca..c1947f76bb 100644
--- a/py/parse.c
+++ b/py/parse.c
@@ -853,7 +853,6 @@ mp_parse_tree_t mp_parse(mp_lexer_t *lex, mp_parse_input_kind_t input_kind) {
// rule should not be emitted if it has only 1 argument
// NOTE: can't set this flag for atom_paren because we need it
// to distinguish, for example, [a,b] from [(a,b)]
- // TODO possibly set for: varargslist_name, varargslist_equal
if (rule->act & RULE_ACT_ALLOW_IDENT) {
emit_rule = false;
}