]> code.delx.au - gnu-emacs/blobdiff - src/syntax.h
(mail-extr-all-top-level-domains): More domains.
[gnu-emacs] / src / syntax.h
index 29ce1c27b335768169cca550b26a1b969efa9db1..72699386b6ef1ae1dbc1c4b30559f2d7d9ac0bfc 100644 (file)
@@ -20,8 +20,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 extern Lisp_Object Qsyntax_table_p;
-extern Lisp_Object Fsyntax_table_p (), Fsyntax_table (), Fset_syntax_table ();
-extern void update_syntax_table ();
+extern void update_syntax_table P_ ((int, int, int, Lisp_Object));
 
 /* The standard syntax table is stored where it will automatically
    be used in all new buffers.  */
@@ -81,7 +80,7 @@ enum syntaxcode
      temp; })
 #else
 extern Lisp_Object syntax_temp;
-extern Lisp_Object syntax_parent_lookup ();
+extern Lisp_Object syntax_parent_lookup P_ ((Lisp_Object, int));
 
 #define SYNTAX_ENTRY_FOLLOW_PARENT(table, c)           \
   (syntax_temp = XCHAR_TABLE (table)->contents[(c)],   \
@@ -200,22 +199,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
@@ -294,4 +293,6 @@ struct gl_state_s
 
 extern struct gl_state_s gl_state;
 extern int parse_sexp_lookup_properties;
-extern INTERVAL interval_of ();
+extern INTERVAL interval_of P_ ((int, Lisp_Object));
+
+extern int scan_words P_ ((int, int));