Mercurial > emacs
diff src/syntax.c @ 8863:b5a4f7db03c7
(Fforward_comment): Do increment from, when reaching
single-char comment end going forward.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sat, 17 Sep 1994 19:49:03 +0000 |
| parents | 18c2ad4ddc83 |
| children | b2596f9e624c |
line wrap: on
line diff
--- a/src/syntax.c Sat Sep 17 17:11:21 1994 +0000 +++ b/src/syntax.c Sat Sep 17 19:49:03 1994 +0000 @@ -653,13 +653,13 @@ return Qnil; } c = FETCH_CHAR (from); + from++; if (SYNTAX (c) == Sendcomment && SYNTAX_COMMENT_STYLE (c) == comstyle) /* we have encountered a comment end of the same style as the comment sequence which began this comment section */ break; - from++; if (from < stop && SYNTAX_COMEND_FIRST (c) && SYNTAX_COMEND_SECOND (FETCH_CHAR (from)) && SYNTAX_COMMENT_STYLE (c) == comstyle)
