aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-09-09 00:48:08 +0000
committerRichard M. Stallman1997-09-09 00:48:08 +0000
commit0a53202aab96d569ac8637f97a8f9138f5f6532c (patch)
tree19a56118e8703a55741f688339fccab624201df8 /src
parentf03f248997db3a5545dc216a66bf8780bf42fcaf (diff)
downloademacs-0a53202aab96d569ac8637f97a8f9138f5f6532c.tar.gz
emacs-0a53202aab96d569ac8637f97a8f9138f5f6532c.zip
(UPDATE_SYNTAX_TABLE_FORWARD): Add missing fourth
argument of update_syntax_table. (UPDATE_SYNTAX_TABLE_BACKWARD): Likewise. (UPDATE_SYNTAX_TABLE): Likewise.
Diffstat (limited to 'src')
-rw-r--r--src/syntax.h8
1 files changed, 4 insertions, 4 deletions
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];
200 200
201#define UPDATE_SYNTAX_TABLE_FORWARD(pos) \ 201#define UPDATE_SYNTAX_TABLE_FORWARD(pos) \
202 ((pos) >= gl_state.e_property - gl_state.offset \ 202 ((pos) >= gl_state.e_property - gl_state.offset \
203 ? (update_syntax_table ((pos) + gl_state.offset, 1, 0), 1) : 0) 203 ? (update_syntax_table ((pos) + gl_state.offset, 1, 0, Qnil), 1) : 0)
204 204
205/* Make syntax table state (gl_state) good for POS, assuming it is 205/* Make syntax table state (gl_state) good for POS, assuming it is
206 currently good for a position after POS. */ 206 currently good for a position after POS. */
207 207
208#define UPDATE_SYNTAX_TABLE_BACKWARD(pos) \ 208#define UPDATE_SYNTAX_TABLE_BACKWARD(pos) \
209 ((pos) <= gl_state.b_property - gl_state.offset \ 209 ((pos) <= gl_state.b_property - gl_state.offset \
210 ? (update_syntax_table ((pos) + gl_state.offset, -1, 0), 1) : 0) 210 ? (update_syntax_table ((pos) + gl_state.offset, -1, 0, Qnil), 1) : 0)
211 211
212/* Make syntax table good for POS. */ 212/* Make syntax table good for POS. */
213 213
214#define UPDATE_SYNTAX_TABLE(pos) \ 214#define UPDATE_SYNTAX_TABLE(pos) \
215 ((pos) <= gl_state.b_property - gl_state.offset \ 215 ((pos) <= gl_state.b_property - gl_state.offset \
216 ? (update_syntax_table ((pos) + gl_state.offset, -1, 0), 1) \ 216 ? (update_syntax_table ((pos) + gl_state.offset, -1, 0, Qnil), 1) \
217 : ((pos) >= gl_state.e_property - gl_state.offset \ 217 : ((pos) >= gl_state.e_property - gl_state.offset \
218 ? (update_syntax_table ((pos) + gl_state.offset, 1, 0), 1) : 0)) 218 ? (update_syntax_table ((pos) + gl_state.offset, 1, 0, Qnil), 1) : 0))
219 219
220/* This macro should be called with FROM at the start of forward 220/* This macro should be called with FROM at the start of forward
221 search, or after the last position of the backward search. It 221 search, or after the last position of the backward search. It