diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-10-04 13:21:56 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-10-04 13:21:56 -0400 |
| commit | 6b9055db7c03c09654c0605b96a37d50bf563fa9 (patch) | |
| tree | ca6ee66251fe1ba0beceff21bca52be2953b0573 /repl.c | |
| parent | 8f346b48aa49ac0590c9c77edb75c63560398e1a (diff) | |
Deprecate readonly pointers for now
Diffstat (limited to 'repl.c')
| -rw-r--r-- | repl.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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}}; |
