comparison src/syntax.c @ 21514:fa9ff387d260

Fix -Wimplicit warnings.
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 12:25:56 +0000
parents 390b39d69836
children 31c39cdc9e11
comparison
equal deleted inserted replaced
21513:984881b316fc 21514:fa9ff387d260
1063 1063
1064 /* Return the position across COUNT words from FROM. 1064 /* Return the position across COUNT words from FROM.
1065 If that many words cannot be found before the end of the buffer, return 0. 1065 If that many words cannot be found before the end of the buffer, return 0.
1066 COUNT negative means scan backward and stop at word beginning. */ 1066 COUNT negative means scan backward and stop at word beginning. */
1067 1067
1068 int
1068 scan_words (from, count) 1069 scan_words (from, count)
1069 register int from, count; 1070 register int from, count;
1070 { 1071 {
1071 register int beg = BEGV; 1072 register int beg = BEGV;
1072 register int end = ZV; 1073 register int end = ZV;
2603 ? make_number (state.comstr_start) 2604 ? make_number (state.comstr_start)
2604 : Qnil), 2605 : Qnil),
2605 Qnil))))))))); 2606 Qnil)))))))));
2606 } 2607 }
2607 2608
2609 void
2608 init_syntax_once () 2610 init_syntax_once ()
2609 { 2611 {
2610 register int i, c; 2612 register int i, c;
2611 Lisp_Object temp; 2613 Lisp_Object temp;
2612 2614
2674 c = ".,;:?!#@~^'`"[i]; 2676 c = ".,;:?!#@~^'`"[i];
2675 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, c, temp); 2677 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, c, temp);
2676 } 2678 }
2677 } 2679 }
2678 2680
2681 void
2679 syms_of_syntax () 2682 syms_of_syntax ()
2680 { 2683 {
2681 Qsyntax_table_p = intern ("syntax-table-p"); 2684 Qsyntax_table_p = intern ("syntax-table-p");
2682 staticpro (&Qsyntax_table_p); 2685 staticpro (&Qsyntax_table_p);
2683 2686