pretty_printing := false;
quote_strings := false;
dereference := false;
+ custom_format := true;
digits_after_decimal := cast(u32) 4;
indentation := cast(u32) 0;
formatting.minimum_width = ~~digits;
}
+ case #char "!" {
+ i += 1;
+ formatting.custom_format = false;
+ }
+
case #char "}" {
arg := va[vararg_index];
vararg_index += 1;
}
}
- if custom_formatters->has(v.type) {
+ if formatting.custom_format && custom_formatters->has(v.type) {
custom_formatters[v.type](output, formatting, v.data);
return;
}