commit 309af874ba591d9071f7a7bf55827349938c2578
parent 3bc1e40cc68c0f1fe0d983db146021b6b43df431
Author: Eyal Sawady <ecs@d2evs.net>
Date: Sat, 20 Feb 2021 19:53:53 -0500
parse: remove obsolete TODOs
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/parse.c b/src/parse.c
@@ -889,14 +889,12 @@ parse_field_value(struct lexer *lexer)
exp->field.name = name;
exp->field.type = parse_type(lexer);
want(lexer, T_EQUAL, NULL);
- // TODO: initializer can be allocation
exp->field.initializer = parse_complex_expression(lexer);
trace(TR_PARSE, "%s: [type] = [expr]", name);
break;
case T_EQUAL:
exp->is_embedded = false;
exp->field.name = name;
- // TODO: initializer can be allocation
exp->field.initializer = parse_simple_expression(lexer);
trace(TR_PARSE, "%s = [expr]", name);
break;