| 522 | and other global variables. */ |
| 523 | |
| 524 | static void |
| 525 | set_other_indent (bool same_paragraph) |
| 526 | { |
| 527 | if (split) |
| 528 | other_indent = first_indent; |
| 529 | else if (crown) |
| 530 | { |
| 531 | other_indent = (same_paragraph ? in_column : first_indent); |
| 532 | } |
| 533 | else if (tagged) |
| 534 | { |
| 535 | if (same_paragraph && in_column != first_indent) |
| 536 | { |
| 537 | other_indent = in_column; |
| 538 | } |
| 539 | |
| 540 | /* Only one line: use the secondary indent from last time if it |
| 541 | splits, or 0 if there have been no multi-line paragraphs in the |
| 542 | input so far. But if these rules make the two indents the same, |
| 543 | pick a new secondary indent. */ |
| 544 | |
| 545 | else if (other_indent == first_indent) |
| 546 | other_indent = first_indent == 0 ? DEF_INDENT : 0; |
| 547 | } |
| 548 | else |
| 549 | { |
| 550 | other_indent = first_indent; |
| 551 | } |
| 552 | } |
| 553 | |
| 554 | /* Read a paragraph from input file F. A paragraph consists of a |
| 555 | maximal number of non-blank (excluding any prefix) lines subject to: |
no outgoing calls
no test coverage detected