aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-06-10 10:28:58 +0000
committerJim Blandy1993-06-10 10:28:58 +0000
commit407865ffc91a5fc1f6fcf7f6ecf5d80fa367a208 (patch)
tree8c950afc8df4c3d96ddba8c94c1c09699a8f6b99 /src
parent91d10fa88d33cd14beaaefd470b9debd24e38639 (diff)
downloademacs-407865ffc91a5fc1f6fcf7f6ecf5d80fa367a208.tar.gz
emacs-407865ffc91a5fc1f6fcf7f6ecf5d80fa367a208.zip
* syntax.c (scan_lists, Fforward_comment): Call scan_sexps_forward
with the proper number of arguments.
Diffstat (limited to 'src')
-rw-r--r--src/syntax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax.c b/src/syntax.c
index db60b8f09f5..4386ea2db0c 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -804,7 +804,7 @@ between them, return t; otherwise return nil.")
804 last passed a comment starter. */ 804 last passed a comment starter. */
805 struct lisp_parse_state state; 805 struct lisp_parse_state state;
806 scan_sexps_forward (&state, find_defun_start (comment_end), 806 scan_sexps_forward (&state, find_defun_start (comment_end),
807 comment_end - 1, -10000, 0, Qnil); 807 comment_end - 1, -10000, 0, Qnil, 1);
808 if (state.incomment) 808 if (state.incomment)
809 from = state.comstart; 809 from = state.comstart;
810 else 810 else
@@ -1191,7 +1191,7 @@ scan_lists (from, count, depth, sexpflag)
1191 last passed a comment starter. */ 1191 last passed a comment starter. */
1192 struct lisp_parse_state state; 1192 struct lisp_parse_state state;
1193 scan_sexps_forward (&state, find_defun_start (comment_end), 1193 scan_sexps_forward (&state, find_defun_start (comment_end),
1194 comment_end - 1, -10000, 0, Qnil); 1194 comment_end - 1, -10000, 0, Qnil, 1);
1195 if (state.incomment) 1195 if (state.incomment)
1196 from = state.comstart; 1196 from = state.comstart;
1197 else 1197 else