# HG changeset patch # User Richard M. Stallman # Date 779831343 0 # Node ID b5a4f7db03c724b9ef965b6852f4a81645f321f5 # Parent 1870d245f7da353316fd573a0be0591b031ed747 (Fforward_comment): Do increment from, when reaching single-char comment end going forward. diff -r 1870d245f7da -r b5a4f7db03c7 src/syntax.c --- 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)