aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD.Chong Yidong2007-06-061-6/+6
|
* (skip_chars): Update syntax-table only after we checked thatStefan Monnier2007-05-191-1/+1
| | | | the new location is valid.
* Update copyright for years from Emacs 21 to present (mainly addingGlenn Morris2007-01-141-2/+3
| | | | 2001).
* Fix spurious open-paren-in-column-0 in a comment.Stefan Monnier2006-12-101-1/+1
|
* * syntax.c (Fpartial_parse_sexp): Correct Docco: Elt 8 of theAlan Mackenzie2006-12-091-1/+1
| | | | result is now neither the last elt nor optional for OLDSTATE.
* Space/tab mixup.Juanma Barranquero2006-11-241-1/+1
|
* * search.c (clear_regexp_cache): New function.Chong Yidong2006-09-171-0/+5
| | | | * syntax.c (Fmodify_syntax_entry): Clear regexp cache.
* (scan_lists): Use xsignal3.Kim F. Storm2006-07-181-14/+9
|
* (scan_sexps_forward): Use EMACS_INT for out_bytepos andAndreas Schwab2006-07-131-1/+1
| | | | out_charpos.
* (check_syntax_table): Use CHECK_TYPE.Kim F. Storm2006-07-121-3/+2
|
* (forw_comment): Also use EMACS_INT for buffer positions.Stefan Monnier2006-07-111-2/+3
|
* (back_comment, scan_lists): Also use EMACS_INT for buffer positions.Stefan Monnier2006-07-091-11/+13
|
* (Fforward_comment): Revert the reversion.Stefan Monnier2006-07-091-5/+5
|
* (Fforward_comment): Use type int for `stop', `count1', `out_charpos'John Paul Wallington2006-07-091-3/+3
| | | | and `out_bytepos' too; revert Stef's previous change.
* (Fforward_comment): Use type int for `from' and `from_byte'.John Paul Wallington2006-07-091-2/+2
|
* (Fforward_comment): Fix int-32 vs EMACS_INT-64 mixup.Stefan Monnier2006-07-071-5/+5
|
* (init_syntax_once): Give most control chars' syntax Spunct.Richard M. Stallman2006-06-191-0/+14
|
* (Fforward_comment): Detect generic comment at beginning ofStefan Monnier2006-05-011-2/+2
| | | | buffer when moving backwards.
* (Fforward_comment): Don't forget to break out of the loopStefan Monnier2006-04-301-0/+3
| | | | when we skipped backward over a generic comment.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (Fparse_partial_sexp): Fix docstring.Stefan Monnier2005-10-291-2/+2
|
* (update_syntax_table): Properly reproduce the special +1Stefan Monnier2005-08-291-4/+10
| | | | | setting of e_property at the end of the buffer when bumping into the INTERVALS_AT_ONCE limit.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+2
|
* (syms_of_syntax): Staticpro lisp objects in gl_state.Kim F. Storm2005-07-141-0/+8
| | | | Staticpro re_match_object.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (Fstring_to_syntax): Follow error conventions.Juanma Barranquero2005-06-231-1/+1
|
* (Fforward_word): Avoid non-idempotent side-effects in macro arguments.Stefan Monnier2004-12-111-2/+4
|
* (scan_sexps_forward): Prefer 2-char comment-starter over a 1-char one.Stefan Monnier2004-10-271-22/+22
|
* (skip_chars): Fix for unibyte case.Kenichi Handa2004-08-201-4/+4
|
* (back_comment): Fixup globals in all cases.Stefan Monnier2004-08-191-1/+1
|
* (char_quoted): Mixup byte/char pos.Stefan Monnier2004-08-191-1/+1
|
* (skip_chars): Remove unused labels fwd_unibyte_ok and back_unibyte_ok.Stefan Monnier2004-06-301-2/+0
|
* (skip_chars): Only recognize [:class:] when it has theKim F. Storm2004-06-151-10/+7
| | | | proper format and class is a lower-case word.
* Include regex.h.Richard M. Stallman2004-06-131-9/+119
| | | | | | | | (skip_chars): New arg HANDLE_ISO_CLASSES. Callers changed. If requested, make a list of classes, then check the scanned chars for membership in them. (in_classes): New function. (Fskip_chars_forward): Doc fix.
* (char_quoted): Avoid warning about undefined operation.Andreas Schwab2004-06-131-9/+18
| | | | | | | (find_defun_start): Likewise. (scan_lists): Likewise. (INC_FROM): Likewise. (scan_sexps_forward): Likewise.
* (Fmodify_syntax_entry): Fix docstring.Juanma Barranquero2004-05-071-3/+3
|
* (scan_lists): Simplify backward string scan.Stefan Monnier2004-04-131-11/+5
| | | | Fix off-by-one boundary check for string and comment fences.
* (skip_chars): Treat '-' at end of string as ordinaryAndreas Schwab2004-01-061-7/+8
| | | | character.
* 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
|