pike.git
/
src
/
program.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.c:12644:
} } else { string_builder_sprintf(s, "%*s ", 18 + 8 + 8/field_width, ""); } /* Opcode */ if (opcode) { if (strlen(opcode) < 8) { string_builder_sprintf(s, " %-8s ", opcode); } else if (strlen(opcode) < 32) {
-
string_builder_sprintf(s, " %-
27s
", opcode);
+
string_builder_sprintf(s, " %-
28s
", opcode);
skip_params = 1; } else { string_builder_sprintf(s, " %s", opcode); skip_params = skip_comment = 1; } opcode = NULL; } else if ((params && params[0]) || (comment && comment[0])) { /* No need to pad if there's no argument and no comment. */ string_builder_sprintf(s, " %8s ", ""); } /* Params */ if (skip_params) { } else if (params && params[0]) {
-
ptrdiff_t bytes_left =
19
;
+
ptrdiff_t bytes_left =
20
;
do { string_builder_sprintf(s, "%s", params[0]); bytes_left -= strlen(params[0]); params++; if (params[0]) { string_builder_sprintf(s, ", "); bytes_left -= 2; }
-
} while (params[0] && (((ptrdiff_t)strlen(params[0])) < bytes_left));
+
} while (params[0] && (((ptrdiff_t)strlen(params[0])) <
=
bytes_left));
if (bytes_left < 0) { skip_comment = 1; } else if (comment && comment[0]) { /* No need to pad if there's no comment. */ string_builder_sprintf(s, "%*s ", bytes_left-1, ""); } } else if (comment && comment[0]) { /* No need to pad if there's no comment. */
-
string_builder_sprintf(s, "%*s ",
18
, "");
+
string_builder_sprintf(s, "%*s ",
19
, "");
} /* Comment */ if (!skip_comment && (comment && comment[0])) { const char *ptr = strchr(comment, '\n'); if (ptr) { string_builder_sprintf(s, " # %.*s\n", ptr - comment, comment); comment = ptr + 1; if (!comment[0]) comment = NULL; } else { string_builder_sprintf(s, " # %s\n", comment); comment = NULL; } } else { string_builder_sprintf(s, "\n"); } } }