From f4e38fd061a158ecb94881273c6db6e6a332f61d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 17 Aug 2025 20:35:09 -0400 Subject: =?UTF-8?q?Switch=20from=20using=20dollar=20signs=20as=20namespace?= =?UTF-8?q?=20delimiters=20to=20using=20=E3=80=85,=20=E3=83=BD,=20and=20?= =?UTF-8?q?=E3=80=87.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/types.c') diff --git a/src/types.c b/src/types.c index f2dc5ddd..c7fdda65 100644 --- a/src/types.c +++ b/src/types.c @@ -29,7 +29,7 @@ Text_t type_to_text(type_t *t) { case BoolType: return Text("Bool"); case ByteType: return Text("Byte"); case CStringType: return Text("CString"); - case TextType: return Match(t, TextType)->lang ? Text$from_str(Match(t, TextType)->lang) : Text("Text"); + case TextType: return Match(t, TextType)->lang ? Textヽfrom_str(Match(t, TextType)->lang) : Text("Text"); case BigIntType: return Text("Int"); case IntType: return Texts("Int", String(Match(t, IntType)->bits)); case NumType: return Match(t, NumType)->bits == TYPE_NBITS32 ? Text("Num32") : Text("Num"); @@ -62,7 +62,7 @@ Text_t type_to_text(type_t *t) { } case StructType: { DeclareMatch(struct_, t, StructType); - return Text$from_str(struct_->name); + return Textヽfrom_str(struct_->name); } case PointerType: { DeclareMatch(ptr, t, PointerType); @@ -71,7 +71,7 @@ Text_t type_to_text(type_t *t) { } case EnumType: { DeclareMatch(tagged, t, EnumType); - return Text$from_str(tagged->name); + return Textヽfrom_str(tagged->name); } case OptionalType: { type_t *opt = Match(t, OptionalType)->type; @@ -81,7 +81,7 @@ Text_t type_to_text(type_t *t) { return Text("(Unknown optional type)"); } case TypeInfoType: { - return Texts("Type$info(", Match(t, TypeInfoType)->name, ")"); + return Texts("Typeヽinfo(", Match(t, TypeInfoType)->name, ")"); } case ModuleType: { return Texts("Module(", Match(t, ModuleType)->name, ")"); @@ -95,7 +95,7 @@ Text_t type_to_text(type_t *t) { const char *type_to_str(type_t *t) { - return Text$as_c_string(type_to_text(t)); + return Textヽas_c_string(type_to_text(t)); } PUREFUNC const char *get_type_name(type_t *t) @@ -114,7 +114,7 @@ bool type_eq(type_t *a, type_t *b) if (!a && !b) return true; if (!a || !b) return false; if (a->tag != b->tag) return false; - return Text$equal_values(type_to_text(a), type_to_text(b)); + return Textヽequal_values(type_to_text(a), type_to_text(b)); } bool type_is_a(type_t *t, type_t *req) -- cgit v1.2.3