Stefan Monnier
bce3dc36da
Fix spurious open-paren-in-column-0 in a comment.
2006-12-10 22:00:27 +00:00
Alan Mackenzie
43726c053d
* syntax.c (Fpartial_parse_sexp): Correct Docco: Elt 8 of the
...
result is now neither the last elt nor optional for OLDSTATE.
2006-12-09 23:32:19 +00:00
Juanma Barranquero
db9cd97ad4
Space/tab mixup.
2006-11-24 10:31:26 +00:00
Chong Yidong
e5b94d44df
* search.c (clear_regexp_cache): New function.
...
* syntax.c (Fmodify_syntax_entry): Clear regexp cache.
2006-09-17 17:38:59 +00:00
Kim F. Storm
9471945bad
(scan_lists): Use xsignal3.
2006-07-18 13:29:00 +00:00
Andreas Schwab
60c86a8342
(scan_sexps_forward): Use EMACS_INT for out_bytepos and
...
out_charpos.
2006-07-13 11:44:10 +00:00
Kim F. Storm
47f5f6ae55
(check_syntax_table): Use CHECK_TYPE.
2006-07-12 13:21:51 +00:00
Stefan Monnier
a0aa7fcfd8
(forw_comment): Also use EMACS_INT for buffer positions.
2006-07-11 13:52:21 +00:00
Stefan Monnier
932e6895de
(back_comment, scan_lists): Also use EMACS_INT for buffer positions.
2006-07-09 14:36:07 +00:00
Stefan Monnier
2312c580d3
(Fforward_comment): Revert the reversion.
2006-07-09 14:19:33 +00:00
John Paul Wallington
bf88ca6390
(Fforward_comment): Use type int for stop', count1', `out_charpos'
...
and `out_bytepos' too; revert Stef's previous change.
2006-07-09 03:33:14 +00:00
John Paul Wallington
4f4c0966e2
(Fforward_comment): Use type int for from' and from_byte'.
2006-07-09 03:19:16 +00:00
Stefan Monnier
dd9f0dcd8f
(Fforward_comment): Fix int-32 vs EMACS_INT-64 mixup.
2006-07-07 16:52:13 +00:00
Richard M. Stallman
aa7b08b445
(init_syntax_once): Give most control chars' syntax Spunct.
2006-06-19 21:54:58 +00:00
Stefan Monnier
fcdd458570
(Fforward_comment): Detect generic comment at beginning of
...
buffer when moving backwards.
2006-05-01 13:09:24 +00:00
Stefan Monnier
39c41ad421
(Fforward_comment): Don't forget to break out of the loop
...
when we skipped backward over a generic comment.
2006-04-30 15:35:54 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Stefan Monnier
0e6228bc0b
(Fparse_partial_sexp): Fix docstring.
2005-10-29 16:05:41 +00:00
Stefan Monnier
5a77452283
(update_syntax_table): Properly reproduce the special +1
...
setting of e_property at the end of the buffer when bumping into the
INTERVALS_AT_ONCE limit.
2005-08-29 20:49:28 +00:00
Thien-Thi Nguyen
0b5538bd85
Update years in copyright notice; nfc.
2005-08-07 12:33:19 +00:00
Kim F. Storm
a2994c46f9
(syms_of_syntax): Staticpro lisp objects in gl_state.
...
Staticpro re_match_object.
2005-07-14 11:24:18 +00:00
Lute Kamstra
4fc5845fe8
Update FSF's address.
2005-07-04 16:49:24 +00:00
Juanma Barranquero
b764a6537d
(Fstring_to_syntax): Follow error conventions.
2005-06-23 16:15:29 +00:00
Stefan Monnier
c096ae4d4e
(Fforward_word): Avoid non-idempotent side-effects in macro arguments.
2004-12-11 21:59:15 +00:00
Stefan Monnier
c5d4b96fe2
(scan_sexps_forward): Prefer 2-char comment-starter over a 1-char one.
2004-10-27 20:15:05 +00:00
Kenichi Handa
1ad6e4db01
(skip_chars): Fix for unibyte case.
2004-08-20 08:46:50 +00:00
Stefan Monnier
789f332078
(back_comment): Fixup globals in all cases.
2004-08-19 22:17:59 +00:00
Stefan Monnier
709a47ceff
(char_quoted): Mixup byte/char pos.
2004-08-19 19:00:58 +00:00
Stefan Monnier
4f55e211b4
(skip_chars): Remove unused labels fwd_unibyte_ok and back_unibyte_ok.
2004-06-30 19:34:49 +00:00
Kim F. Storm
b3bda4fdfd
(skip_chars): Only recognize [:class:] when it has the
...
proper format and class is a lower-case word.
2004-06-15 09:42:31 +00:00
Richard M. Stallman
a1bc88d455
Include regex.h.
...
(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.
2004-06-13 22:25:34 +00:00
Andreas Schwab
ab229fdd0d
(char_quoted): Avoid warning about undefined operation.
...
(find_defun_start): Likewise.
(scan_lists): Likewise.
(INC_FROM): Likewise.
(scan_sexps_forward): Likewise.
2004-06-13 15:28:55 +00:00
Juanma Barranquero
d7ee9fab39
(Fmodify_syntax_entry): Fix docstring.
2004-05-07 22:26:29 +00:00
Stefan Monnier
d0abdf7e83
(scan_lists): Simplify backward string scan.
...
Fix off-by-one boundary check for string and comment fences.
2004-04-13 21:45:13 +00:00
Andreas Schwab
57951c2efa
(skip_chars): Treat '-' at end of string as ordinary
...
character.
2004-01-06 16:11:00 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Richard M. Stallman
29e16385d0
(Fforward_word): Argument changed to optional. Set default value to 1.
2003-08-17 00:25:17 +00:00
Richard M. Stallman
1fd1cc2fc2
(find_defun_start): When open_paren_in_column_0_is_defun_start,
...
return beginning of buffer.
2003-05-17 12:50:31 +00:00
Kenichi Handa
4e837cd04f
(skip_chars): Fix previous change.
2003-04-24 23:25:09 +00:00
Kenichi Handa
9af7511a2a
(skip_chars): Make the code faster by using the common
...
technique of *p, *stop, and *endp.
2003-04-24 01:28:43 +00:00
Stefan Monnier
d070eb221d
(back_comment): Only check nestedness of 2nd char if needed.
2003-02-25 01:36:23 +00:00
Juanma Barranquero
177c0ea743
Trailing whitespace deleted.
2003-02-04 14:56:31 +00:00
Dave Love
b222e4153c
(Fskip_chars_forward)
...
(open-paren-in-column-0-is-defun-start): Doc fix.
2003-01-31 15:39:48 +00:00
Dave Love
ddc447fcff
(scan_sexps_forward):
...
Declare all args (per C99).
2002-11-14 14:17:40 +00:00
Stefan Monnier
3ceb4629cf
(scan_sexps_forward): Undo last patch.
...
Use a more obvious fix: check eob before updating the syntax table.
2002-11-12 20:41:14 +00:00
Stefan Monnier
79bd6490a2
(scan_sexps_forward): Update syntax table before reading
...
a char rather than after so we don't update the table past eob.
2002-11-09 22:20:02 +00:00
Dave Love
ee648c1188
(Fforward_comment): Doc fix.
2002-10-30 19:17:31 +00:00
Juanma Barranquero
7d0393cf12
Fix typo in comment.
2002-10-18 10:09:43 +00:00
Stefan Monnier
240c43e89c
(scan_lists): Don't get fooled by a symbol ending with a backslash-quoted char.
...
(scan_lists, scan_sexps_forward): Pacify the compiler.
2002-10-14 04:44:24 +00:00
Ken Raeburn
2e567bd3ec
(Fstring_to_syntax, skip_chars): Treat Lisp string
...
contents as const.
2002-07-19 14:27:24 +00:00