Mercurial > emacs
diff src/syntax.c @ 49971:afbb2d6d2f07
(back_comment): Only check nestedness of 2nd char if needed.
| author | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| date | Tue, 25 Feb 2003 01:36:23 +0000 |
| parents | 23a1cea22d13 |
| children | 96dc22fa49d3 |
line wrap: on
line diff
--- a/src/syntax.c Mon Feb 24 23:49:27 2003 +0000 +++ b/src/syntax.c Tue Feb 25 01:36:23 2003 +0000 @@ -609,7 +609,7 @@ case Sendcomment: if (SYNTAX_FLAGS_COMMENT_STYLE (syntax) == comstyle - && (SYNTAX_FLAGS_COMMENT_NESTED (prev_syntax) + && ((com2end && SYNTAX_FLAGS_COMMENT_NESTED (prev_syntax)) || SYNTAX_FLAGS_COMMENT_NESTED (syntax)) == comnested) /* This is the same style of comment ender as ours. */ {
