A lot of refactoring on the PrettyPrint code and the various printf routines.
This commit is contained in:
@@ -85,9 +85,7 @@ eng::string World::tangible_pprint(int64_t id) const {
|
||||
LS.rawget(tan, tangibles, id);
|
||||
eng::ostringstream oss;
|
||||
if (LS.istable(tan)) {
|
||||
PrettyPrintOptions opts;
|
||||
opts.indent = false;
|
||||
pprint(LS, tan, opts, &oss);
|
||||
PrettyPrint::Pretty(false, true).print(LS, tan, &oss);
|
||||
} else {
|
||||
oss << "<no such tangible " << id << ">{}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user