Fix '...' missing in output

This commit is contained in:
Michael Hansen
2016-08-30 13:32:53 -07:00
parent c6d92bab3f
commit 4b55e0bcea
2 changed files with 6 additions and 0 deletions

View File

@@ -185,6 +185,9 @@ void output_object(PycRef<PycObject> obj, PycModule* mod, int indent)
case PycObject::TYPE_TRUE:
iprintf(indent, "True\n");
break;
case PycObject::TYPE_ELLIPSIS:
iprintf(indent, "...\n");
break;
case PycObject::TYPE_INT:
iprintf(indent, "%d\n", obj.cast<PycInt>()->value());
break;