From 79ab1a4223d53bbdbffc55ae7f9740d953c57945 Mon Sep 17 00:00:00 2001 From: glenda Date: Sat, 22 Oct 2022 19:03:56 +0000 Subject: Prepare for a namespace implementation at some point --- print.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'print.c') diff --git a/print.c b/print.c index 3143fcc..1262eb4 100644 --- a/print.c +++ b/print.c @@ -84,7 +84,10 @@ pparray(Array *a) done = 1; *p-- = 0; /* remove trailing 0's */ } - } + }else if(GetType(e) == AtypeNamespace) + elemstrs[i] = runestrdup(e->nsdata[0]->displayform); + else + throwerror(L"Unhandled case in pparray", ENotImplemented); if(elemstrs[i][0] == '-' && (GetType(e) == AtypeInt || GetType(e) == AtypeFloat)) elemstrs[i][0] = L'¯'; -- cgit v1.2.3