Ensure there is always space after the opcode (some opcode names are longer than 30 characters now)

This commit is contained in:
Michael Hansen
2023-12-06 11:38:03 -08:00
parent ab6aaf6da3
commit 7560149895

View File

@@ -343,7 +343,7 @@ void bc_disasm(std::ostream& pyc_output, PycRef<PycCode> code, PycModule* mod,
for (int i=0; i<indent; i++)
pyc_output << " ";
formatted_print(pyc_output, "%-7d %-30s", start_pos, Pyc::OpcodeName(opcode));
formatted_print(pyc_output, "%-7d %-30s ", start_pos, Pyc::OpcodeName(opcode));
if (opcode >= Pyc::PYC_HAVE_ARG) {
switch (opcode) {