Commit 51f18f3
committed
syntax: recover binary commands properly
I wasn't paying close enough attention to the code;
the returned statement is the parent containing both branches,
not just the right branch which is recovered.
Teach the tests to spot when the result is empty or all recovered,
which caught these mistakes.1 parent c6175e6 commit 51f18f3
2 files changed
+17
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1721 | 1721 | | |
1722 | 1722 | | |
1723 | 1723 | | |
1724 | | - | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
1725 | 1728 | | |
1726 | | - | |
1727 | | - | |
1728 | 1729 | | |
1729 | 1730 | | |
1730 | 1731 | | |
| |||
1897 | 1898 | | |
1898 | 1899 | | |
1899 | 1900 | | |
1900 | | - | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
1901 | 1905 | | |
1902 | | - | |
1903 | | - | |
1904 | 1906 | | |
1905 | 1907 | | |
1906 | 1908 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2618 | 2618 | | |
2619 | 2619 | | |
2620 | 2620 | | |
| 2621 | + | |
2621 | 2622 | | |
2622 | 2623 | | |
2623 | 2624 | | |
2624 | 2625 | | |
2625 | 2626 | | |
2626 | 2627 | | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
| 2631 | + | |
| 2632 | + | |
| 2633 | + | |
| 2634 | + | |
| 2635 | + | |
2627 | 2636 | | |
2628 | 2637 | | |
2629 | 2638 | | |
| |||
0 commit comments