Commit 9bc1eb9
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 8647932 commit 9bc1eb9
3 files changed
Lines changed: 13 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 134 | + | |
139 | 135 | | |
140 | 136 | | |
141 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4162 | 4162 | | |
4163 | 4163 | | |
4164 | 4164 | | |
4165 | | - | |
4166 | | - | |
4167 | | - | |
| 4165 | + | |
4168 | 4166 | | |
4169 | 4167 | | |
4170 | 4168 | | |
4171 | 4169 | | |
4172 | | - | |
| 4170 | + | |
4173 | 4171 | | |
4174 | | - | |
| 4172 | + | |
4175 | 4173 | | |
4176 | 4174 | | |
4177 | 4175 | | |
4178 | | - | |
| 4176 | + | |
4179 | 4177 | | |
4180 | 4178 | | |
4181 | 4179 | | |
4182 | 4180 | | |
4183 | 4181 | | |
4184 | | - | |
4185 | | - | |
4186 | | - | |
4187 | | - | |
4188 | | - | |
4189 | | - | |
4190 | | - | |
| 4182 | + | |
4191 | 4183 | | |
4192 | 4184 | | |
4193 | | - | |
4194 | 4185 | | |
4195 | 4186 | | |
4196 | 4187 | | |
| |||
16448 | 16439 | | |
16449 | 16440 | | |
16450 | 16441 | | |
16451 | | - | |
| 16442 | + | |
| 16443 | + | |
| 16444 | + | |
| 16445 | + | |
| 16446 | + | |
| 16447 | + | |
16452 | 16448 | | |
16453 | 16449 | | |
16454 | 16450 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2597 | 2597 | | |
2598 | 2598 | | |
2599 | 2599 | | |
2600 | | - | |
| 2600 | + | |
2601 | 2601 | | |
2602 | 2602 | | |
2603 | 2603 | | |
| |||
0 commit comments