diff options
| author | Jim Blandy | 1992-06-24 05:07:51 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-06-24 05:07:51 +0000 |
| commit | a4275ad1c8f60239b0bad43cef97ca86d35a51a3 (patch) | |
| tree | 11d1a861a60d1824e2a5b808be44683024d1961a /src/syntax.c | |
| parent | 8e1cae6da029d17d2f811a7e0dd5ebb1390f6dd5 (diff) | |
| download | emacs-a4275ad1c8f60239b0bad43cef97ca86d35a51a3.tar.gz emacs-a4275ad1c8f60239b0bad43cef97ca86d35a51a3.zip | |
entered into RCS
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/syntax.c b/src/syntax.c index 483526ebc35..21e0d5bfebb 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | /* GNU Emacs routines to deal with syntax tables; also word and list parsing. | 1 | /* GNU Emacs routines to deal with syntax tables; also word and list parsing. |
| 2 | Copyright (C) 1985, 1987 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1987, 1992 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| 6 | GNU Emacs is free software; you can redistribute it and/or modify | 6 | GNU Emacs is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation; either version 1, or (at your option) | 8 | the Free Software Foundation; either version 2, or (at your option) |
| 9 | any later version. | 9 | any later version. |
| 10 | 10 | ||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | 11 | GNU Emacs is distributed in the hope that it will be useful, |
| @@ -1094,7 +1094,7 @@ scan_sexps_forward (from, end, targetdepth, stopbefore, oldstate) | |||
| 1094 | for make-docfile to see. We cannot put this in the real DEFUN | 1094 | for make-docfile to see. We cannot put this in the real DEFUN |
| 1095 | due to limits in the Unix cpp. | 1095 | due to limits in the Unix cpp. |
| 1096 | 1096 | ||
| 1097 | DEFUN ("parse-partial-sexp", Ffoo, Sfoo, 0, 0, 0, | 1097 | DEFUN ("parse-partial-sexp", Ffoo, Sfoo, 2, 5, 0, |
| 1098 | "Parse Lisp syntax starting at FROM until TO; return status of parse at TO.\n\ | 1098 | "Parse Lisp syntax starting at FROM until TO; return status of parse at TO.\n\ |
| 1099 | Parsing stops at TO or when certain criteria are met;\n\ | 1099 | Parsing stops at TO or when certain criteria are met;\n\ |
| 1100 | point is set to where parsing stops.\n\ | 1100 | point is set to where parsing stops.\n\ |
| @@ -1114,8 +1114,9 @@ in parentheses becomes equal to TARGETDEPTH.\n\ | |||
| 1114 | Fourth arg STOPBEFORE non-nil means stop when come to\n\ | 1114 | Fourth arg STOPBEFORE non-nil means stop when come to\n\ |
| 1115 | any character that starts a sexp.\n\ | 1115 | any character that starts a sexp.\n\ |
| 1116 | Fifth arg STATE is a seven-list like what this function returns.\n\ | 1116 | Fifth arg STATE is a seven-list like what this function returns.\n\ |
| 1117 | It is used to initialize the state of the parse.") | 1117 | It is used to initialize the state of the parse. Its second and third |
| 1118 | 1118 | elements are ignored.") | |
| 1119 | (from, to, targetdepth, stopbefore, state) | ||
| 1119 | */ | 1120 | */ |
| 1120 | 1121 | ||
| 1121 | DEFUN ("parse-partial-sexp", Fparse_partial_sexp, Sparse_partial_sexp, 2, 5, 0, | 1122 | DEFUN ("parse-partial-sexp", Fparse_partial_sexp, Sparse_partial_sexp, 2, 5, 0, |