HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f015160
)
(Fforward_comment): Do increment from, when reaching
author
Richard M. Stallman
<rms@gnu.org>
Sat, 17 Sep 1994 19:49:03 +0000
(19:49 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 17 Sep 1994 19:49:03 +0000
(19:49 +0000)
single-char comment end going forward.
src/syntax.c
patch
|
blob
|
blame
|
history
diff --git
a/src/syntax.c
b/src/syntax.c
index
9108f72
..
1aba174
100644
(file)
--- 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)