Skip to content

Commit 4187068

Browse files
committed
showbc: Quote block name, so it was easily visible.
1 parent 5fc400c commit 4187068

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/showbc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void mp_byte_code_print(const byte *ip, int len) {
8989
{
9090
qstr source_file = code_info[4] | (code_info[5] << 8) | (code_info[6] << 16) | (code_info[7] << 24);
9191
qstr block_name = code_info[8] | (code_info[9] << 8) | (code_info[10] << 16) | (code_info[11] << 24);
92-
printf("File %s, block %s\n", qstr_str(source_file), qstr_str(block_name));
92+
printf("File %s, block '%s'\n", qstr_str(source_file), qstr_str(block_name));
9393
machine_int_t bc = (code_info + code_info_size) - ip;
9494
machine_uint_t source_line = 1;
9595
printf(" bc=" INT_FMT " line=" UINT_FMT "\n", bc, source_line);

0 commit comments

Comments
 (0)