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 --- ast.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ast.c') diff --git a/ast.c b/ast.c index f726bc4f..21b31fc0 100644 --- a/ast.c +++ b/ast.c @@ -171,8 +171,8 @@ CORD type_ast_to_xml(type_ast_t *t) #define T(type, ...) case type: { auto data = t->__data.type; (void)data; return CORD_asprintf(__VA_ARGS__); } T(UnknownTypeAST, "") T(VarTypeAST, "%s", data.name) - T(PointerTypeAST, "%r", - data.is_stack ? "yes" : "no", data.is_readonly ? "yes" : "no", type_ast_to_xml(data.pointed)) + T(PointerTypeAST, "%r", + data.is_stack ? "yes" : "no", type_ast_to_xml(data.pointed)) T(ArrayTypeAST, "%r", type_ast_to_xml(data.item)) T(SetTypeAST, "%r", type_ast_to_xml(data.item)) T(ChannelTypeAST, "%r", type_ast_to_xml(data.item)) -- cgit v1.2.3