aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c8
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
98Lisp_Object Qsyntax_table_p, Qsyntax_table, Qscan_error; 98static Lisp_Object Qsyntax_table_p;
99static 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. */
103Lisp_Object syntax_temp; 105Lisp_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;
138static int find_start_modiff; 141static int find_start_modiff;
139 142
140 143
144static Lisp_Object Fsyntax_table_p (Lisp_Object);
141static Lisp_Object skip_chars (int, Lisp_Object, Lisp_Object, int); 145static Lisp_Object skip_chars (int, Lisp_Object, Lisp_Object, int);
142static Lisp_Object skip_syntaxes (int, Lisp_Object, Lisp_Object); 146static Lisp_Object skip_syntaxes (int, Lisp_Object, Lisp_Object);
143static Lisp_Object scan_lists (EMACS_INT, EMACS_INT, EMACS_INT, int); 147static 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
1369Lisp_Object skip_chars (int, Lisp_Object, Lisp_Object, int);
1370
1371DEFUN ("skip-chars-forward", Fskip_chars_forward, Sskip_chars_forward, 1, 2, 0, 1373DEFUN ("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.
1373STRING is like the inside of a `[...]' in a regular expression 1375STRING is like the inside of a `[...]' in a regular expression