diff options
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/syntax.c b/src/syntax.c index 1301c0689ad..031409144b1 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -95,12 +95,15 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 95 | #define ST_COMMENT_STYLE (256 + 1) | 95 | #define ST_COMMENT_STYLE (256 + 1) |
| 96 | #define ST_STRING_STYLE (256 + 2) | 96 | #define ST_STRING_STYLE (256 + 2) |
| 97 | 97 | ||
| 98 | Lisp_Object Qsyntax_table_p, Qsyntax_table, Qscan_error; | 98 | static Lisp_Object Qsyntax_table_p; |
| 99 | static Lisp_Object Qsyntax_table, Qscan_error; | ||
| 99 | 100 | ||
| 101 | #ifndef __GNUC__ | ||
| 100 | /* Used as a temporary in SYNTAX_ENTRY and other macros in syntax.h, | 102 | /* Used as a temporary in SYNTAX_ENTRY and other macros in syntax.h, |
| 101 | if not compiled with GCC. No need to mark it, since it is used | 103 | if not compiled with GCC. No need to mark it, since it is used |
| 102 | only very temporarily. */ | 104 | only very temporarily. */ |
| 103 | Lisp_Object syntax_temp; | 105 | Lisp_Object syntax_temp; |
| 106 | #endif | ||
| 104 | 107 | ||
| 105 | /* This is the internal form of the parse state used in parse-partial-sexp. */ | 108 | /* This is the internal form of the parse state used in parse-partial-sexp. */ |
| 106 | 109 | ||
| @@ -138,6 +141,7 @@ static EMACS_INT find_start_begv; | |||
| 138 | static int find_start_modiff; | 141 | static int find_start_modiff; |
| 139 | 142 | ||
| 140 | 143 | ||
| 144 | static Lisp_Object Fsyntax_table_p (Lisp_Object); | ||
| 141 | static Lisp_Object skip_chars (int, Lisp_Object, Lisp_Object, int); | 145 | static Lisp_Object skip_chars (int, Lisp_Object, Lisp_Object, int); |
| 142 | static Lisp_Object skip_syntaxes (int, Lisp_Object, Lisp_Object); | 146 | static Lisp_Object skip_syntaxes (int, Lisp_Object, Lisp_Object); |
| 143 | static Lisp_Object scan_lists (EMACS_INT, EMACS_INT, EMACS_INT, int); | 147 | static Lisp_Object scan_lists (EMACS_INT, EMACS_INT, EMACS_INT, int); |
| @@ -1366,8 +1370,6 @@ and the function returns nil. Field boundaries are not noticed if | |||
| 1366 | return val == orig_val ? Qt : Qnil; | 1370 | return val == orig_val ? Qt : Qnil; |
| 1367 | } | 1371 | } |
| 1368 | 1372 | ||
| 1369 | Lisp_Object skip_chars (int, Lisp_Object, Lisp_Object, int); | ||
| 1370 | |||
| 1371 | DEFUN ("skip-chars-forward", Fskip_chars_forward, Sskip_chars_forward, 1, 2, 0, | 1373 | DEFUN ("skip-chars-forward", Fskip_chars_forward, Sskip_chars_forward, 1, 2, 0, |
| 1372 | doc: /* Move point forward, stopping before a char not in STRING, or at pos LIM. | 1374 | doc: /* Move point forward, stopping before a char not in STRING, or at pos LIM. |
| 1373 | STRING is like the inside of a `[...]' in a regular expression | 1375 | STRING is like the inside of a `[...]' in a regular expression |