From 6b9055db7c03c09654c0605b96a37d50bf563fa9 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 4 Oct 2024 13:21:56 -0400 Subject: Deprecate readonly pointers for now --- repl.c | 1 - 1 file changed, 1 deletion(-) (limited to 'repl.c') diff --git a/repl.c b/repl.c index 5d5c4434..bd741165 100644 --- a/repl.c +++ b/repl.c @@ -136,7 +136,6 @@ const TypeInfo_t *type_to_type_info(type_t *t) case PointerType: { auto ptr = Match(t, PointerType); CORD sigil = ptr->is_stack ? "&" : "@"; - if (ptr->is_readonly) sigil = CORD_cat(sigil, "%"); const TypeInfo_t *pointed_info = type_to_type_info(ptr->pointed); const TypeInfo_t pointer_info = {.size=sizeof(void*), .align=__alignof__(void*), .tag=PointerInfo, .PointerInfo={.sigil=sigil, .pointed=pointed_info}}; -- cgit v1.2.3