aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 0a1525b54ea..56176f32418 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -175,7 +175,8 @@ update_syntax_table (EMACS_INT charpos, int count, int init,
175 Lisp_Object object) 175 Lisp_Object object)
176{ 176{
177 Lisp_Object tmp_table; 177 Lisp_Object tmp_table;
178 int cnt = 0, invalidate = 1; 178 unsigned cnt = 0;
179 int invalidate = 1;
179 INTERVAL i; 180 INTERVAL i;
180 181
181 if (init) 182 if (init)
@@ -1219,7 +1220,7 @@ scan_words (register EMACS_INT from, register EMACS_INT count)
1219 register EMACS_INT from_byte = CHAR_TO_BYTE (from); 1220 register EMACS_INT from_byte = CHAR_TO_BYTE (from);
1220 register enum syntaxcode code; 1221 register enum syntaxcode code;
1221 int ch0, ch1; 1222 int ch0, ch1;
1222 Lisp_Object func, script, pos; 1223 Lisp_Object func, pos;
1223 1224
1224 immediate_quit = 1; 1225 immediate_quit = 1;
1225 QUIT; 1226 QUIT;
@@ -1259,7 +1260,6 @@ scan_words (register EMACS_INT from, register EMACS_INT count)
1259 } 1260 }
1260 else 1261 else
1261 { 1262 {
1262 script = CHAR_TABLE_REF (Vchar_script_table, ch0);
1263 while (1) 1263 while (1)
1264 { 1264 {
1265 if (from == end) break; 1265 if (from == end) break;
@@ -1310,7 +1310,6 @@ scan_words (register EMACS_INT from, register EMACS_INT count)
1310 } 1310 }
1311 else 1311 else
1312 { 1312 {
1313 script = CHAR_TABLE_REF (Vchar_script_table, ch1);
1314 while (1) 1313 while (1)
1315 { 1314 {
1316 if (from == beg) 1315 if (from == beg)