aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Kenichi Handa2003-09-081-350/+553
|\
| * (skip_chars, skip_syntaxes): Fix type errors.Dave Love2003-01-071-3/+3
| |
| * *** empty log message ***Kenichi Handa2002-09-181-1/+1
| |
| * (skip_syntaxes): Fix previous change.Kenichi Handa2002-09-181-25/+30
| |
| * (skip_syntaxes): Fix previous change.Kenichi Handa2002-09-181-1/+1
| |
| * (skip_chars): Fix previous change.Kenichi Handa2002-09-131-21/+18
| | | | | | | | (skip_syntaxes): Fix previous change.
| * (syms_of_syntax) <multibyte-syntax-as-symbol>: Doc fix.Dave Love2002-09-051-1/+1
| |
| * (char_quoted): Use FETCH_CHAR_AS_MULTIBYTE to convertKenichi Handa2002-09-031-239/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unibyte chars to multibyte. (back_comment): Likewise. (scan_words): Likewise. (skip_chars): The arg syntaxp is deleted, and the code for handling syntaxes is moved to skip_syntaxes. Callers changed. Fix the case that the multibyteness of STRING and the current buffer doesn't match. (skip_syntaxes): New function. (SYNTAX_WITH_MULTIBYTE_CHECK): Check C by ASCII_CHAR_P, not by SINGLE_BYTE_CHAR_P. (Fforward_comment): Use FETCH_CHAR_AS_MULTIBYTE to convert unibyte chars to multibyte. (scan_lists): Likewise. (Fbackward_prefix_chars): Likewise. (scan_sexps_forward): Likewise.
| * (scan_words): Don't treat characters belonging toKenichi Handa2002-08-191-28/+40
| | | | | | | | different scripts constituting a work.
| * (Vnext_word_boundary_function_table): New variable.Kenichi Handa2002-08-011-25/+70
| | | | | | | | | | | | (syms_of_syntax): Declare it as a Lisp variable. (scan_words): Call functions in Vnext_word_boundary_function_table if any.
| * (scan_sexps_forward): Declare an arg.Dave Love2002-07-301-0/+1
| |
| * Include "character.h" instead of "charset.h".Kenichi Handa2002-03-011-89/+86
| | | | | | | | | | | | | | | | (syntax_parent_lookup): Deleted. (Fmodify_syntax_entry): Accept a cons as CHAR. (skip_chars): Adjusted for the new multibyte form. (init_syntax_once): Call char_table_set_range instead of directly accessing the structure of a char table.
* | New directoryKenichi Handa2003-09-081-13/+6
| |
* | Add arch taglinesMiles Bader2003-09-011-0/+3
| |
* | (Fforward_word): Argument changed to optional. Set default value to 1.Richard M. Stallman2003-08-171-6/+10
| |
* | (find_defun_start): When open_paren_in_column_0_is_defun_start,Richard M. Stallman2003-05-171-15/+18
| | | | | | | | return beginning of buffer.
* | (skip_chars): Fix previous change.Kenichi Handa2003-04-241-2/+2
| |
* | (skip_chars): Make the code faster by using the commonKenichi Handa2003-04-241-55/+135
| | | | | | | | technique of *p, *stop, and *endp.
* | (back_comment): Only check nestedness of 2nd char if needed.Stefan Monnier2003-02-251-1/+1
| |
* | Trailing whitespace deleted.Juanma Barranquero2003-02-041-1/+1
| |
* | (Fskip_chars_forward)Dave Love2003-01-311-2/+4
| | | | | | | | (open-paren-in-column-0-is-defun-start): Doc fix.
* | (scan_sexps_forward):Dave Love2002-11-141-1/+1
| | | | | | | | Declare all args (per C99).
* | (scan_sexps_forward): Undo last patch.Stefan Monnier2002-11-121-2/+3
| | | | | | | | Use a more obvious fix: check eob before updating the syntax table.
* | (scan_sexps_forward): Update syntax table before readingStefan Monnier2002-11-091-9/+3
| | | | | | | | a char rather than after so we don't update the table past eob.
* | (Fforward_comment): Doc fix.Dave Love2002-10-301-2/+3
| |
* | Fix typo in comment.Juanma Barranquero2002-10-181-34/+34
| |
* | (scan_lists): Don't get fooled by a symbol ending with a backslash-quoted char.Stefan Monnier2002-10-141-1/+15
| | | | | | | | (scan_lists, scan_sexps_forward): Pacify the compiler.
* | (Fstring_to_syntax, skip_chars): Treat Lisp stringKen Raeburn2002-07-191-4/+5
| | | | | | | | contents as const.
* | Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-10/+10
|/ | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* (syms_of_syntax): Remove defsubr of Sdescribe_syntax.Stefan Monnier2001-11-261-44/+0
| | | | (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove.
* (describe_syntax): Add dummy arg.Stefan Monnier2001-11-191-5/+6
| | | | (describe_syntax_1): Update call to describe_vector.
* (describe_syntax): New wrapper.Stefan Monnier2001-11-021-16/+28
| | | | | | (Finternal_describe_syntax_value): Rename from describe_syntax. Don't insert space at front and \n at the end. (syms_of_syntax): Defsubr Sinternal_describe_syntax_value.
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-14/+14
|
* Fix comment ending.Stefan Monnier2001-10-251-2/+1
|
* (modify-syntax-entry): Fix argument names (use CHAR instead of C) and usage.Pavel Janík2001-10-231-9/+10
|
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-10-201-192/+174
|
* (update_syntax_table): Simplify.Stefan Monnier2001-10-121-74/+59
| | | | (Fforward_comment): Don't skip quoted chars when going backward.
* Include keymap.h.Stefan Monnier2001-10-101-0/+1
|
* Comment change.Richard M. Stallman2001-09-081-3/+9
|
* Fixed a typo in a comment.Eli Zaretskii2001-06-151-1/+1
|
* (update_syntax_table): Check that oldi has the sameStefan Monnier2001-05-011-7/+7
| | | | properties as old_prop before deciding not to invalidate.
* (scan_lists): Check that the right quote char has theStefan Monnier2000-12-091-4/+6
| | | | | right Sstring syntax when jumping over strings. (init_syntax_once): Use Smax rather than 13.
* *** empty log message ***Kenichi Handa2000-10-241-6/+6
|
* (describe_syntax): Add code for comment and string fences.Stefan Monnier2000-10-151-1/+7
|
* (Fstring_to_syntax): New function extracted from Fmodify_syntax_entry.Stefan Monnier2000-10-151-69/+77
| | | | | | (Fmodify_syntax_entry): Use it and document the ! and | fences. (skip_chars, Fforward_comment): Remove unused variables. (syms_of_syntax): Add defsubr for string-to-syntax.
* Fix wording in a comment.Eli Zaretskii2000-10-151-6/+6
|
* (skip_chars): Change the way of handling a range from unibyte char toKenichi Handa2000-10-121-6/+7
| | | | multibyte char.
* (prev_char_comstart_first): Remove.Stefan Monnier2000-10-021-38/+77
| | | | | | (back_comment): Check two-char comment markers more carefully to better handle overlapping cases like *//* or /* */* */ ... Match nestedness of ender/starter.
* (forw_comment): Match nestedness of ender/starter.Stefan Monnier2000-10-021-26/+30
| | | | (Fforward_comment): Treat an unmatched \n comment-ender as whitespace.
* (skip_chars): Handle negation correctly.Kenichi Handa2000-09-281-49/+30
|