summaryrefslogtreecommitdiff
path: root/cgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgen.c')
-rw-r--r--cgen.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/cgen.c b/cgen.c
index 2f98565..b2312f4 100644
--- a/cgen.c
+++ b/cgen.c
@@ -1386,11 +1386,6 @@ static void cgen_expr(CGenerator *g, Expression *e) {
bool is_ptr = lhs->type.kind == TYPE_PTR;
cgen_write(g, is_ptr ? "->" :".");
cgen_write(g, "data");
- } else {
- assert(type_is_builtin(struct_type, BUILTIN_NMS));
- char *prefix = lhs->val.nms->c.prefix;
- cgen_write(g, "%s", prefix);
- cgen_ident_simple(g, rhs->ident);
}
handled = true;
} break;