diff options
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/syntax.c b/src/syntax.c index e24b98da32a..ff125b137cf 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -2572,8 +2572,9 @@ between them, return t; otherwise return nil. */) | |||
| 2572 | } | 2572 | } |
| 2573 | else if (code == Sendcomment) | 2573 | else if (code == Sendcomment) |
| 2574 | { | 2574 | { |
| 2575 | found = back_comment (from, from_byte, stop, comnested, comstyle, | 2575 | found = (!quoted || !Vcomment_end_can_be_escaped) |
| 2576 | &out_charpos, &out_bytepos); | 2576 | && back_comment (from, from_byte, stop, comnested, comstyle, |
| 2577 | &out_charpos, &out_bytepos); | ||
| 2577 | if (!found) | 2578 | if (!found) |
| 2578 | { | 2579 | { |
| 2579 | if (c == '\n') | 2580 | if (c == '\n') |