| 570 | } |
| 571 | |
| 572 | void RowScratchRegisters::SetBodyLine() { |
| 573 | LineType current_lt = GetLineType(); |
| 574 | if (current_lt != LT_UNKNOWN && current_lt != LT_BODY) { |
| 575 | tprintf("Trying to set a line to be BODY when it's already START.\n"); |
| 576 | } |
| 577 | if (current_lt == LT_UNKNOWN || current_lt == LT_START) { |
| 578 | hypotheses_.push_back_new(LineHypothesis(LT_BODY, NULL)); |
| 579 | } |
| 580 | } |
| 581 | |
| 582 | void RowScratchRegisters::AddStartLine(const ParagraphModel *model) { |
| 583 | hypotheses_.push_back_new(LineHypothesis(LT_START, model)); |
no test coverage detected