summaryrefslogtreecommitdiff
path: root/src/syntax.c
Commit message (Collapse)AuthorAgeFilesLines
* (Fforward_comment): Always clear immediate_quit for return.Richard M. Stallman1995-03-091-0/+1
|
* Change all occurences of SWITCH_ENUM_BUG to use SWITCH_ENUM_CAST instead.Karl Heuer1995-01-181-41/+9
|
* (describe_syntax_1): Set help-mode in *Help* buffer.Karl Heuer1994-11-091-0/+1
|
* (scan_sexps_forward): At startincomment,Richard M. Stallman1994-10-121-1/+13
| | | | do notice a 2-char comment ender that straddles FROM.
* * syntax.c (find_defun_start): Call scan_buffer with new args.Jim Blandy1994-10-081-2/+2
|
* (Fmodify_syntax_entry): Don't use XFASTINT as an lvalue.Karl Heuer1994-10-041-9/+9
|
* (Fcopy_syntax_table, Fmodify_syntax_entry, scan_lists, init_syntax_once):Karl Heuer1994-10-041-20/+20
| | | | Don't use XFASTINT as an lvalue.
* (Fsyntax_table_p, describe_syntax): Use type test macros.Karl Heuer1994-09-271-2/+2
|
* (Fforward_comment): Do increment from, when reachingRichard M. Stallman1994-09-171-1/+1
| | | | single-char comment end going forward.
* (scan_lists, Fforward_comment): When moving backward overRichard M. Stallman1994-06-241-14/+16
| | | | a comment, ignore a comment-starter that overlaps the comment-ender.
* (Fmatching_paren): Fix typo.Richard M. Stallman1994-06-201-1/+1
|
* (Fmatching_paren): New function.Richard M. Stallman1994-06-191-1/+15
| | | | (Fchar_syntax): Pass arg directly to SYNTAX, no masking.
* (scan_lists): Get error if eob within comment with depth!=0.Richard M. Stallman1994-06-161-2/+12
|
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* (Fforward_comment): Do the right thing at eob.Karl Heuer1994-03-021-35/+35
|
* (find_defun_start): Pass new arg to scan_buffer.Richard M. Stallman1994-02-031-2/+2
|
* (describe_syntax): Handle Sinherit.Richard M. Stallman1994-01-051-4/+6
| | | | (syntax_code_spec, syntax_spec_code): Add entry for @ and Sinherit.
* (Fmodify_syntax_entry): Doc fix.Richard M. Stallman1993-12-241-3/+4
|
* (Fforward_comment): On backward scan, exit inner loopRichard M. Stallman1993-11-101-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 McGrath1993-09-101-1/+1
|
* Doc fix.Richard M. Stallman1993-08-051-8/+8
|
* Doc fix.Richard M. Stallman1993-08-011-1/+1
|
* (scan_sexps_forward): Delete extra Fcdr when analyzing OLDSTATE.Richard M. Stallman1993-07-271-1/+0
|
* * syntax.c (Fmodify_syntax_entry): Doc fix.Jim Blandy1993-07-181-2/+2
|
* (scan_lists, Fforward_comment): #if 0 the codeRichard M. Stallman1993-06-171-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 argRichard M. Stallman1993-06-131-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. Stallman1993-06-121-1/+2
|
* * syntax.c (scan_lists, Fforward_comment): Call scan_sexps_forwardJim Blandy1993-06-101-2/+2
| | | | with the proper number of arguments.
* Apply typo patches from Paul Eggert.Jim Blandy1993-06-091-2/+2
|
* (Fforward_comment): Set point to where scan stops,Richard M. Stallman1993-06-081-20/+23
| | | | | | | thus moving acros whitespace. When moving fwd, treat Sendcomment as whitespace; likewise for Scomment when moving back. (scan_sexps_forward): New arg COMMENTSTOP. (Fparse_partial_sexp): Likewise.
* (Fforward_comment): Arg is a Lisp_Object.Richard M. Stallman1993-05-251-5/+9
| | | | Convert it to an int.
* (Fforward_comment): Fix last change.Richard M. Stallman1993-05-251-4/+9
|
* (Fforward_comment): Always set point.Richard M. Stallman1993-05-251-0/+4
|
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* (describe_syntax_1): Delete excess arg to describe_vector.Richard M. Stallman1993-03-021-2/+260
| | | | | | (check_syntax_table): Delete excess arg to wrong_type_argument. (Fforward_comment): New function.
* (find_defun_start): scan_buffer returns start of line;Richard M. Stallman1992-10-111-5/+0
| | | | no need to advance over newline.
* (describe_syntax): Use insert_char to insert `match'.Joseph Arceneaux1992-10-011-3/+1
|
* (scan_lists): When searching back for comment:Richard M. Stallman1992-09-191-16/+112
| | | | | | | | | | if comment-end is 2 chars, assume it does end a comment. Otherwise, scan back to previous comment-end to see if there's a comment starter between. Also record whether the string quotes between the start and the end are paired and uniform. If so, skip to comment starter. If not, scan from start of defun to find comment starter if any. (find_defun_start): New function.
* (scan_lists): Improve smarts for backwards scan of comments.Richard M. Stallman1992-09-051-56/+174
| | | | | | | | | Don't modify comstyle inside that loop. If string quotes don't match up, don't take value from OFROM; instead, parse forward using scan_sexps_forward. (scan_sexps_forward): Return value via a pointer passed in. New element in state contains char addr of last comment-starter seen. (Fparse_partial_sexp): Change call to scan_sexps_forward.
* entered into RCSJim Blandy1992-06-241-5/+6
|
* *** empty log message ***Jim Blandy1992-05-011-6/+7
|
* *** empty log message ***Jim Blandy1992-01-131-11/+11
|
* Initial revisionRichard M. Stallman1991-01-141-0/+1216