Commit f8e8fa5
committed
Check for delimiter before lookahead in
Avoid doing an unnecessary lookahead if we're not even at a multiline
delimiter. This also fixes an issue where we'd scan ahead on the next
line for `#"\n`, although this was benign in practice since the
delimiter check would have previously then failed afterwards.advanceIfMultilineStringDelimiter
1 parent df0831a commit f8e8fa5
1 file changed
+12
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
814 | 814 | | |
815 | 815 | | |
816 | 816 | | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
817 | 826 | | |
818 | | - | |
819 | | - | |
820 | 827 | | |
821 | 828 | | |
| 829 | + | |
822 | 830 | | |
823 | 831 | | |
824 | 832 | | |
| |||
831 | 839 | | |
832 | 840 | | |
833 | 841 | | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | | - | |
| 842 | + | |
| 843 | + | |
841 | 844 | | |
842 | 845 | | |
843 | 846 | | |
| |||
0 commit comments