/* Synched up with: FSF 19.28. */
-#ifndef _XEMACS_SYNTAX_H_
-#define _XEMACS_SYNTAX_H_
+#ifndef INCLUDED_syntax_h_
+#define INCLUDED_syntax_h_
#include "chartab.h"
#define SYNTAX_CODE_UNSAFE(table, c) \
XINT (CHAR_TABLE_VALUE_UNSAFE (table, c))
-INLINE int SYNTAX_CODE (struct Lisp_Char_Table *table, Emchar c);
+INLINE int SYNTAX_CODE (Lisp_Char_Table *table, Emchar c);
INLINE int
-SYNTAX_CODE (struct Lisp_Char_Table *table, Emchar c)
+SYNTAX_CODE (Lisp_Char_Table *table, Emchar c)
{
return SYNTAX_CODE_UNSAFE (table, c);
}
#define SYNTAX_FROM_CODE(code) ((enum syntaxcode) ((code) & 0177))
#define SYNTAX(table, c) SYNTAX_FROM_CODE (SYNTAX_CODE (table, c))
-INLINE int WORD_SYNTAX_P (struct Lisp_Char_Table *table, Emchar c);
+INLINE int WORD_SYNTAX_P (Lisp_Char_Table *table, Emchar c);
INLINE int
-WORD_SYNTAX_P (struct Lisp_Char_Table *table, Emchar c)
+WORD_SYNTAX_P (Lisp_Char_Table *table, Emchar c)
{
- int syncode = SYNTAX (table, c);
- return syncode == Sword;
+ return SYNTAX (table, c) == Sword;
}
/* OK, here's a graphic diagram of the format of the syntax values:
extern CONST unsigned char syntax_code_spec[];
-Lisp_Object scan_lists (struct buffer *buf, int from, int count,
+Lisp_Object scan_lists (struct buffer *buf, Bufpos from, int count,
int depth, int sexpflag, int no_error);
-int char_quoted (struct buffer *buf, int pos);
+int char_quoted (struct buffer *buf, Bufpos pos);
/* NOTE: This does not refer to the mirror table, but to the
syntax table itself. */
extern int no_quit_in_re_search;
extern struct buffer *regex_emacs_buffer;
-void update_syntax_table (struct Lisp_Char_Table *ct);
+void update_syntax_table (Lisp_Char_Table *ct);
-#endif /* _XEMACS_SYNTAX_H_ */
+#endif /* INCLUDED_syntax_h_ */