indent.c (9d4264fbdd79aba676b2272a69d33395dcff9fa5) indent.c (5f35ea69afff23db1184469a315cd86cb3112aad)
1/*-
2 * SPDX-License-Identifier: BSD-4-Clause
3 *
4 * Copyright (c) 1985 Sun Microsystems, Inc.
5 * Copyright (c) 1976 Board of Trustees of the University of Illinois.
6 * Copyright (c) 1980, 1993
7 * The Regents of the University of California. All rights reserved.
8 *

--- 1044 unchanged lines hidden (view full) ---

1053 /* indent leading commas and not the actual identifiers */
1054 indent_declaration(dec_ind - 1, tabs_to_var);
1055 ps.dumped_decl_indent = true;
1056 }
1057 *e_code++ = ',';
1058 if (ps.p_l_follow == 0) {
1059 if (ps.block_init_level <= 0)
1060 ps.block_init = 0;
1/*-
2 * SPDX-License-Identifier: BSD-4-Clause
3 *
4 * Copyright (c) 1985 Sun Microsystems, Inc.
5 * Copyright (c) 1976 Board of Trustees of the University of Illinois.
6 * Copyright (c) 1980, 1993
7 * The Regents of the University of California. All rights reserved.
8 *

--- 1044 unchanged lines hidden (view full) ---

1053 /* indent leading commas and not the actual identifiers */
1054 indent_declaration(dec_ind - 1, tabs_to_var);
1055 ps.dumped_decl_indent = true;
1056 }
1057 *e_code++ = ',';
1058 if (ps.p_l_follow == 0) {
1059 if (ps.block_init_level <= 0)
1060 ps.block_init = 0;
1061 if (break_comma && (!ps.leave_comma || compute_code_target() + (e_code - s_code) > max_col - tabsize))
1061 if (break_comma && (!ps.leave_comma ||
1062 count_spaces_until(compute_code_target(), s_code, e_code) >
1063 max_col - tabsize))
1062 force_nl = true;
1063 }
1064 break;
1065
1066 case preesc: /* got the character '#' */
1067 if ((s_com != e_com) ||
1068 (s_lab != e_lab) ||
1069 (s_code != e_code))

--- 233 unchanged lines hidden ---
1064 force_nl = true;
1065 }
1066 break;
1067
1068 case preesc: /* got the character '#' */
1069 if ((s_com != e_com) ||
1070 (s_lab != e_lab) ||
1071 (s_code != e_code))

--- 233 unchanged lines hidden ---