summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-09-17 19:49:03 +0000
committerRichard M. Stallman <rms@gnu.org>1994-09-17 19:49:03 +0000
commit2924b2d94ab90848a9e19472230699736ff74691 (patch)
tree6f5df5a6df7ec511c83927ef9d40fea1290a186e /src/syntax.c
parent6126bdb638c92838e4d803bbe29223e9edbb797d (diff)
downloademacs-2924b2d94ab90848a9e19472230699736ff74691.tar.gz
(Fforward_comment): Do increment from, when reaching
single-char comment end going forward.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 9108f727cc4..1aba174f7bb 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -653,13 +653,13 @@ between them, return t; otherwise return nil.")
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)