From: Richard M. Stallman Date: Tue, 9 Sep 1997 00:48:08 +0000 (+0000) Subject: (UPDATE_SYNTAX_TABLE_FORWARD): Add missing fourth X-Git-Tag: emacs-20.1~122 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0a53202aab96d569ac8637f97a8f9138f5f6532c;p=emacs.git (UPDATE_SYNTAX_TABLE_FORWARD): Add missing fourth argument of update_syntax_table. (UPDATE_SYNTAX_TABLE_BACKWARD): Likewise. (UPDATE_SYNTAX_TABLE): Likewise. --- diff --git a/src/syntax.h b/src/syntax.h index 29ce1c27b33..0fa3994a75d 100644 --- a/src/syntax.h +++ b/src/syntax.h @@ -200,22 +200,22 @@ extern char syntax_code_spec[16]; #define UPDATE_SYNTAX_TABLE_FORWARD(pos) \ ((pos) >= gl_state.e_property - gl_state.offset \ - ? (update_syntax_table ((pos) + gl_state.offset, 1, 0), 1) : 0) + ? (update_syntax_table ((pos) + gl_state.offset, 1, 0, Qnil), 1) : 0) /* Make syntax table state (gl_state) good for POS, assuming it is currently good for a position after POS. */ #define UPDATE_SYNTAX_TABLE_BACKWARD(pos) \ ((pos) <= gl_state.b_property - gl_state.offset \ - ? (update_syntax_table ((pos) + gl_state.offset, -1, 0), 1) : 0) + ? (update_syntax_table ((pos) + gl_state.offset, -1, 0, Qnil), 1) : 0) /* Make syntax table good for POS. */ #define UPDATE_SYNTAX_TABLE(pos) \ ((pos) <= gl_state.b_property - gl_state.offset \ - ? (update_syntax_table ((pos) + gl_state.offset, -1, 0), 1) \ + ? (update_syntax_table ((pos) + gl_state.offset, -1, 0, Qnil), 1) \ : ((pos) >= gl_state.e_property - gl_state.offset \ - ? (update_syntax_table ((pos) + gl_state.offset, 1, 0), 1) : 0)) + ? (update_syntax_table ((pos) + gl_state.offset, 1, 0, Qnil), 1) : 0)) /* This macro should be called with FROM at the start of forward search, or after the last position of the backward search. It