Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Commit 9857895

Browse files
committed
Fix issue where single quote is treated as comment terminator.
1 parent f3dd3e0 commit 9857895

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/rescript-editor-support/PartialParser.re

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ let rec findBackSkippingCommentsAndStrings = (text, char, pair, i, level) => {
3131
} else {
3232
switch (text.[i]) {
3333
| '"' => loop(findBack(text, '"', i - 1), level)
34-
| '\'' => loop(findBack(text, '\'', i - 1), level)
3534
| '/' when i >= 1 && text.[i - 1] == '*' =>
3635
loop(findOpenComment(text, i - 2), level)
3736
| _ => loop(i - 1, level)

0 commit comments

Comments
 (0)