Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (Fsyntax_table_p, check_syntax_table): Use EQ. | Richard M. Stallman | 1997-06-02 | 1 | -6/+6 |
| | | | | | (Fmodify_syntax_entry): Use XINT to access c. (describe_syntax): Use XINT to access first. | ||||
* | (Fforward_comment): Handle unmatched two-character comment starters. | Richard M. Stallman | 1997-05-31 | 1 | -0/+11 |
| | |||||
* | (back_comment): Detect 2-char comment starts properly. | Richard M. Stallman | 1997-05-31 | 1 | -9/+15 |
| | | | | New arg COMSTYLE; callers changed. | ||||
* | (describe_syntax_1): Pass new args to describe_vector. | Richard M. Stallman | 1997-05-13 | 1 | -2/+3 |
| | |||||
* | (skip_chars): Fix previous change in syntax/backward case. | Richard M. Stallman | 1997-04-28 | 1 | -4/+8 |
| | |||||
* | (skip_chars): Merge mule changes back in. | Richard M. Stallman | 1997-04-25 | 1 | -20/+165 |
| | |||||
* | Update copyright year. | Richard M. Stallman | 1997-04-15 | 1 | -1/+1 |
| | |||||
* | (SYNTAX_ENTRY_VIA_PROPERTY): Set to take `syntax-table' | Richard M. Stallman | 1997-04-15 | 1 | -101/+783 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | text property into account when doing SYNTAX (c). (ST_COMMENT_STYLE, ST_STRING_STYLE): New codes to denote delimiters for new types of strings and comments. (Vparse_sexp_lookup_properties): New variable. (struct lisp_parse_state): Comment updated. (gl_state): New global variable. (update_syntax_table): New function. (char_quoted): Move earlier, update gl_state when needed. (find_defun_start): Update gl_state when needed. (back_comment): New function. (Scomment_fence, Sstring_fence): New delimeter char classes denoted by `!' and `|'. (Fchar_syntax, Fmatching_paren): Update gl_state to whole-bufferstate. (scan_words): update gl_state when needed. (Fskip_chars_forward): Move from search.c. (Fskip_chars_backward): Move from search.c. (Fskip_syntax_forward): Move from search.c. (Fskip_syntax_backward): Move from search.c. (skip_chars): Move from search.c. (Fforward_comment, scan_lists): Update gl_state when needed. Handle Scomment_fence, Sstring_fence. (Fbackward_prefix_chars) Update gl_state when needed. (scan_sexps_forward): Update gl_state when needed. Handle Scomment_fence, Sstring_fence. If comment_stop==-1, stop at start or end of comment or string. (Fparse-partial-sexp): Doc fix. (syms_of_syntax): Move initialization of skip* from search.c. | ||||
* | (init_syntax_once): Add trick to avoid compiler warning | Kenichi Handa | 1997-02-28 | 1 | -3/+9 |
| | | | | of "comparison is always 1 ...". | ||||
* | (describe_syntax): Handle the case that the argument | Kenichi Handa | 1997-02-27 | 1 | -0/+6 |
| | | | | VALUE is char-table. | ||||
* | Include charset.h and category.h. | Karl Heuer | 1997-02-20 | 1 | -122/+226 |
| | | | | | | | | | | | | | | | | | | (Vsyntax_code_object): New variable. (Fmodify_syntax_entry): Handle multibyte characters. A multibyte character in matching parenthesis is also handled correctly. Use shared object in the vector Vsyntax_code_object for an ASCII character. (describe_syntax): Handle a multibyte character in matching parenthesis. (describe_syntax_1): Describe also parent syntax tables. (scan_words, Fforward_comment): Handle multibyte characters. (scan_lists, char_quoted, Fbackward_prefix_chars): Likewise. (scan_sexps_forward): Likewise. (init_syntax_once): Initialize Vsyntax_code_object. Initialize Vstandard_syntax_table by share objects in Vsyntax_code_object. (syms_of_syntax): Staticpro Vsyntax_code_object. | ||||
* | (scan_lists): Signal errors using scan-error. | Richard M. Stallman | 1997-02-10 | 1 | -4/+26 |
| | | | | (syms_of_syntax): Set up Qscan_error. | ||||
* | Change all references from point to PT. | Karl Heuer | 1996-09-01 | 1 | -2/+2 |
| | |||||
* | (Fcopy_syntax_table): Set default to nil. | Richard M. Stallman | 1996-02-24 | 1 | -1/+10 |
| | | | | Set the parent only if it was nil. | ||||
* | Update FSF's address in the preamble. | Erik Naggum | 1996-01-15 | 1 | -1/+2 |
| | |||||
* | (Fsyntax_table_p, Fchar_syntax, Fmatching_paren, Fmodify_syntax_entry): | Erik Naggum | 1996-01-09 | 1 | -22/+23 |
| | | | | Harmonize arguments with documentation. | ||||
* | (check_syntax_table): Check the purpose slot. | Richard M. Stallman | 1995-11-11 | 1 | -4/+9 |
| | | | | | | Use Qsyntax_table_p for the error message. (Fmodify_syntax_entry): Don't fail to init MATCH. | ||||
* | (Qsyntax_table): New variable. | Richard M. Stallman | 1995-10-14 | 1 | -3/+17 |
| | | | | | | (init_syntax_once): Call Fmake_char_table the new way. Set up Qsyntax_table. (Fsyntax_table_p): Check the `purpose' field. | ||||
* | (describe_syntax): Handle new syntax-table data format. | Richard M. Stallman | 1995-10-07 | 1 | -84/+147 |
| | | | | | | | | | | | | | (Fmodify_syntax_entry, init_syntax_once): Use SET_RAW_SYNTAX_ENTRY. Handle new syntax-table data format. (check_syntax_table): Use CHECK_CHAR_TABLE. Now static. Don't return anything; callers changed. (Fcopy_syntax_table): Use Fcopy_sequence. (Fchar_syntax, Fmatching_paren, Fforward_comment): Copy complex args to SYNTAX into variables before using them. (Fsyntax_table_p): Accept any char-table. (syntax_parent_lookup): New function. (syntax_temp): New variable. | ||||
* | (scan_sexps_forward): Fix previous change. | Richard M. Stallman | 1995-08-19 | 1 | -2/+2 |
| | |||||
* | (scan_sexps_forward): Use the initial depth | Richard M. Stallman | 1995-08-16 | 1 | -2/+2 |
| | | | | in the starting state for tracking when we reach TARGETDEPTH. | ||||
* | (describe_syntax_1): Pass new arg to describe_vector. | Karl Heuer | 1995-05-29 | 1 | -1/+1 |
| | |||||
* | (scan_lists): Make stringterm an unsigned char. | Karl Heuer | 1995-05-25 | 1 | -1/+1 |
| | |||||
* | (Fforward_comment): Always clear immediate_quit for return. | Richard M. Stallman | 1995-03-09 | 1 | -0/+1 |
| | |||||
* | Change all occurences of SWITCH_ENUM_BUG to use SWITCH_ENUM_CAST instead. | Karl Heuer | 1995-01-18 | 1 | -41/+9 |
| | |||||
* | (describe_syntax_1): Set help-mode in *Help* buffer. | Karl Heuer | 1994-11-09 | 1 | -0/+1 |
| | |||||
* | (scan_sexps_forward): At startincomment, | Richard M. Stallman | 1994-10-12 | 1 | -1/+13 |
| | | | | do notice a 2-char comment ender that straddles FROM. | ||||
* | * syntax.c (find_defun_start): Call scan_buffer with new args. | Jim Blandy | 1994-10-08 | 1 | -2/+2 |
| | |||||
* | (Fmodify_syntax_entry): Don't use XFASTINT as an lvalue. | Karl Heuer | 1994-10-04 | 1 | -9/+9 |
| | |||||
* | (Fcopy_syntax_table, Fmodify_syntax_entry, scan_lists, init_syntax_once): | Karl Heuer | 1994-10-04 | 1 | -20/+20 |
| | | | | Don't use XFASTINT as an lvalue. | ||||
* | (Fsyntax_table_p, describe_syntax): Use type test macros. | Karl Heuer | 1994-09-27 | 1 | -2/+2 |
| | |||||
* | (Fforward_comment): Do increment from, when reaching | Richard M. Stallman | 1994-09-17 | 1 | -1/+1 |
| | | | | single-char comment end going forward. | ||||
* | (scan_lists, Fforward_comment): When moving backward over | Richard M. Stallman | 1994-06-24 | 1 | -14/+16 |
| | | | | a comment, ignore a comment-starter that overlaps the comment-ender. | ||||
* | (Fmatching_paren): Fix typo. | Richard M. Stallman | 1994-06-20 | 1 | -1/+1 |
| | |||||
* | (Fmatching_paren): New function. | Richard M. Stallman | 1994-06-19 | 1 | -1/+15 |
| | | | | (Fchar_syntax): Pass arg directly to SYNTAX, no masking. | ||||
* | (scan_lists): Get error if eob within comment with depth!=0. | Richard M. Stallman | 1994-06-16 | 1 | -2/+12 |
| | |||||
* | Update copyright. | Karl Heuer | 1994-05-04 | 1 | -1/+1 |
| | |||||
* | (Fforward_comment): Do the right thing at eob. | Karl Heuer | 1994-03-02 | 1 | -35/+35 |
| | |||||
* | (find_defun_start): Pass new arg to scan_buffer. | Richard M. Stallman | 1994-02-03 | 1 | -2/+2 |
| | |||||
* | (describe_syntax): Handle Sinherit. | Richard M. Stallman | 1994-01-05 | 1 | -4/+6 |
| | | | | (syntax_code_spec, syntax_spec_code): Add entry for @ and Sinherit. | ||||
* | (Fmodify_syntax_entry): Doc fix. | Richard M. Stallman | 1993-12-24 | 1 | -3/+4 |
| | |||||
* | (Fforward_comment): On backward scan, exit inner loop | Richard M. Stallman | 1993-11-10 | 1 | -5/+12 |
| | | | | | | | after we reach beginning of a comment. Check the SYNTAX_COMMENT_STYLE of a one-character comment ender. (scan_lists): Check the SYNTAX_COMMENT_STYLE of a one-character comment ender. | ||||
* | Include <config.h> instead of "config.h". | Roland McGrath | 1993-09-10 | 1 | -1/+1 |
| | |||||
* | Doc fix. | Richard M. Stallman | 1993-08-05 | 1 | -8/+8 |
| | |||||
* | Doc fix. | Richard M. Stallman | 1993-08-01 | 1 | -1/+1 |
| | |||||
* | (scan_sexps_forward): Delete extra Fcdr when analyzing OLDSTATE. | Richard M. Stallman | 1993-07-27 | 1 | -1/+0 |
| | |||||
* | * syntax.c (Fmodify_syntax_entry): Doc fix. | Jim Blandy | 1993-07-18 | 1 | -2/+2 |
| | |||||
* | (scan_lists, Fforward_comment): #if 0 the code | Richard M. Stallman | 1993-06-17 | 1 | -3/+10 |
| | | | | | | | to treat two-character comment enders with a special shortcut. (scan_sexps_forward): Set state.comstart to before the comment starter, not after. | ||||
* | (scan_lists, Fforward_comment): Pass 0 as commentstop arg | Richard M. Stallman | 1993-06-13 | 1 | -3/+9 |
| | | | | | | to scan_sexps_forward. (scan_sexps_forward, char_quoted): Now static. (describe_syntax, describe_syntax_1): Now static. | ||||
* | (Fset_syntax_table): Add XFASTINT. | Richard M. Stallman | 1993-06-12 | 1 | -1/+2 |
| |