diff options
author | glenda <glenda@9front> | 2022-10-22 19:03:56 +0000 |
---|---|---|
committer | glenda <glenda@9front> | 2022-10-22 19:03:56 +0000 |
commit | 79ab1a4223d53bbdbffc55ae7f9740d953c57945 (patch) | |
tree | 65104abcf220f4774ab2b84a0d772c891a9dff17 /print.c | |
parent | 6a0d0638cdf510a9033fcd1e1a66daf636197a6f (diff) |
Prepare for a namespace implementation at some point
Diffstat (limited to 'print.c')
-rw-r--r-- | print.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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'¯'; |