diff options
| author | Eli Zaretskii | 2010-09-24 11:24:47 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2010-09-24 11:24:47 -0400 |
| commit | 4f3a2f8d41f3a1e2be27921e8271c5fdb78e6d98 (patch) | |
| tree | 9afa3e5cda7d3f8505ca39f25d5004797b78c6f2 /src/syntax.h | |
| parent | f0812d352e22fb610d5002a50827278fd271938c (diff) | |
| download | emacs-4f3a2f8d41f3a1e2be27921e8271c5fdb78e6d98.tar.gz emacs-4f3a2f8d41f3a1e2be27921e8271c5fdb78e6d98.zip | |
Fix int/EMACS_INT use in casefiddle.c and syntax.c.
syntax.c (scan_words, update_syntax_table)
(prev_char_comend_first, back_comment, skip_chars)
(skip_syntaxes, Fforward_comment, Fbackward_prefix_chars): Use
EMACS_INT for buffer and string positions.
syntax.h (scan_words, update_syntax_table): Adjust prototypes.
casefiddle.c (operate_on_word): Use EMACS_INT for buffer
positions.
Diffstat (limited to 'src/syntax.h')
| -rw-r--r-- | src/syntax.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax.h b/src/syntax.h index 48146572d19..15e6c729308 100644 --- a/src/syntax.h +++ b/src/syntax.h | |||
| @@ -19,7 +19,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | extern Lisp_Object Qsyntax_table_p; | 21 | extern Lisp_Object Qsyntax_table_p; |
| 22 | extern void update_syntax_table (int, int, int, Lisp_Object); | 22 | extern void update_syntax_table (EMACS_INT, int, int, Lisp_Object); |
| 23 | 23 | ||
| 24 | /* The standard syntax table is stored where it will automatically | 24 | /* The standard syntax table is stored where it will automatically |
| 25 | be used in all new buffers. */ | 25 | be used in all new buffers. */ |
| @@ -301,7 +301,7 @@ extern struct gl_state_s gl_state; | |||
| 301 | extern int parse_sexp_lookup_properties; | 301 | extern int parse_sexp_lookup_properties; |
| 302 | extern INTERVAL interval_of (int, Lisp_Object); | 302 | extern INTERVAL interval_of (int, Lisp_Object); |
| 303 | 303 | ||
| 304 | extern int scan_words (int, int); | 304 | extern EMACS_INT scan_words (EMACS_INT, EMACS_INT); |
| 305 | 305 | ||
| 306 | /* arch-tag: 28833cca-cd73-4741-8c85-a3111166a0e0 | 306 | /* arch-tag: 28833cca-cd73-4741-8c85-a3111166a0e0 |
| 307 | (do not change this comment) */ | 307 | (do not change this comment) */ |