Commit 04a94d9
committed
Refactor
- in `parse_go` we don't have a direct way to find what that previous non-whitespace token was, so the error message is adjusted accordinglyexpect_previously_only_whitespace_until_newline to return a bool1 parent 6e68019 commit 04a94d9
3 files changed
Lines changed: 13 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
| 133 | + | |
138 | 134 | | |
139 | 135 | | |
140 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4591 | 4591 | | |
4592 | 4592 | | |
4593 | 4593 | | |
4594 | | - | |
4595 | | - | |
4596 | | - | |
| 4594 | + | |
4597 | 4595 | | |
4598 | 4596 | | |
4599 | 4597 | | |
4600 | 4598 | | |
4601 | | - | |
| 4599 | + | |
4602 | 4600 | | |
4603 | | - | |
| 4601 | + | |
4604 | 4602 | | |
4605 | 4603 | | |
4606 | 4604 | | |
4607 | | - | |
| 4605 | + | |
4608 | 4606 | | |
4609 | 4607 | | |
4610 | 4608 | | |
4611 | 4609 | | |
4612 | 4610 | | |
4613 | | - | |
4614 | | - | |
4615 | | - | |
4616 | | - | |
4617 | | - | |
4618 | | - | |
4619 | | - | |
| 4611 | + | |
4620 | 4612 | | |
4621 | 4613 | | |
4622 | | - | |
4623 | 4614 | | |
4624 | 4615 | | |
4625 | 4616 | | |
| |||
19707 | 19698 | | |
19708 | 19699 | | |
19709 | 19700 | | |
19710 | | - | |
| 19701 | + | |
| 19702 | + | |
| 19703 | + | |
| 19704 | + | |
| 19705 | + | |
| 19706 | + | |
19711 | 19707 | | |
19712 | 19708 | | |
19713 | 19709 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2958 | 2958 | | |
2959 | 2959 | | |
2960 | 2960 | | |
2961 | | - | |
| 2961 | + | |
2962 | 2962 | | |
2963 | 2963 | | |
2964 | 2964 | | |
| |||
0 commit comments