Ensure there is always space after the opcode (some opcode names are longer than 30 characters now)
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user