summaryrefslogtreecommitdiff
path: root/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'print.c')
-rw-r--r--print.c5
1 files changed, 4 insertions, 1 deletions
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'¯';