diff options
| author | Stefan Monnier | 2003-02-25 01:36:23 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-02-25 01:36:23 +0000 |
| commit | d070eb221d54a4a15a42b72388297cc4b77ef9a5 (patch) | |
| tree | b83395ad5a3c9defdfe6b41b8431b21f702a7376 /src/syntax.c | |
| parent | 33f8eee3edc04006e89c4d3830e26b89b8b833b0 (diff) | |
| download | emacs-d070eb221d54a4a15a42b72388297cc4b77ef9a5.tar.gz emacs-d070eb221d54a4a15a42b72388297cc4b77ef9a5.zip | |
(back_comment): Only check nestedness of 2nd char if needed.
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c index 799f44d3c2f..cd0d52f3390 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -609,7 +609,7 @@ back_comment (from, from_byte, stop, comnested, comstyle, charpos_ptr, bytepos_p | |||
| 609 | 609 | ||
| 610 | case Sendcomment: | 610 | case Sendcomment: |
| 611 | if (SYNTAX_FLAGS_COMMENT_STYLE (syntax) == comstyle | 611 | if (SYNTAX_FLAGS_COMMENT_STYLE (syntax) == comstyle |
| 612 | && (SYNTAX_FLAGS_COMMENT_NESTED (prev_syntax) | 612 | && ((com2end && SYNTAX_FLAGS_COMMENT_NESTED (prev_syntax)) |
| 613 | || SYNTAX_FLAGS_COMMENT_NESTED (syntax)) == comnested) | 613 | || SYNTAX_FLAGS_COMMENT_NESTED (syntax)) == comnested) |
| 614 | /* This is the same style of comment ender as ours. */ | 614 | /* This is the same style of comment ender as ours. */ |
| 615 | { | 615 | { |