Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2eb1d6a2
Commit
2eb1d6a2
authored
Sep 17, 1994
by
Richard M. Stallman
Browse files
(Fforward_comment): Do increment from, when reaching
single-char comment end going forward.
parent
f0151608
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/syntax.c
src/syntax.c
+1
-1
No files found.
src/syntax.c
View file @
2eb1d6a2
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment