Mercurial > hg > xemacs-beta
diff src/syntax.h @ 2:ac2d302a0011 r19-15b2
Import from CVS: tag r19-15b2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:46:35 +0200 |
parents | 376386a54a3c |
children | 131b0175ea99 |
line wrap: on
line diff
--- a/src/syntax.h Mon Aug 13 08:45:53 2007 +0200 +++ b/src/syntax.h Mon Aug 13 08:46:35 2007 +0200 @@ -34,29 +34,29 @@ */ enum syntaxcode - { - Swhitespace, /* for a whitespace character */ - Spunct, /* for random punctuation characters */ - Sword, /* for a word constituent */ - Ssymbol, /* symbol constituent but not word constituent */ - Sopen, /* for a beginning delimiter */ - Sclose, /* for an ending delimiter */ - Squote, /* for a prefix character like Lisp ' */ - Sstring, /* for a string-grouping character like Lisp " */ - Smath, /* for delimiters like $ in Tex. */ - Sescape, /* for a character that begins a C-style escape */ - Scharquote, /* for a character that quotes the following character */ - Scomment, /* for a comment-starting character */ - Sendcomment, /* for a comment-ending character */ - Sinherit, /* use the standard syntax table for this character */ - Sextword, /* extended word; works mostly like a word constituent. - See the comment in syntax.c. */ - Smax /* Upper bound on codes that are meaningful */ - }; +{ + Swhitespace, /* whitespace character */ + Spunct, /* random punctuation character */ + Sword, /* word constituent */ + Ssymbol, /* symbol constituent but not word constituent */ + Sopen, /* a beginning delimiter */ + Sclose, /* an ending delimiter */ + Squote, /* a prefix character like Lisp ' */ + Sstring, /* a string-grouping character like Lisp " */ + Smath, /* delimiters like $ in TeX. */ + Sescape, /* a character that begins a C-style escape */ + Scharquote, /* a character that quotes the following character */ + Scomment, /* a comment-starting character */ + Sendcomment, /* a comment-ending character */ + Sinherit, /* use the standard syntax table for this character */ + Sextword, /* extended word; works mostly like a word constituent. + See the comment in syntax.c. */ + Smax /* Upper bound on codes that are meaningful */ +}; extern Lisp_Object Qsyntax_table_p; Lisp_Object Fsyntax_table_p (Lisp_Object); -Lisp_Object Fsyntax_table (Lisp_Object); +Lisp_Object Fsyntax_table (Lisp_Object); Lisp_Object Fset_syntax_table (Lisp_Object, Lisp_Object); /* Return the raw syntax code for a particular character and table */ @@ -207,9 +207,9 @@ ? SYNTAX_COMMENT_STYLE_B \ : 0))) -/* This array, indexed by a character, contains the syntax code which that - character signifies (as a char). For example, - (enum syntaxcode) syntax_spec_code['w'] is Sword. */ +/* This array, indexed by a character, contains the syntax code which + that character signifies (as a char). + For example, (enum syntaxcode) syntax_spec_code['w'] is Sword. */ extern CONST unsigned char syntax_spec_code[0400];