aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorStefan Monnier2006-07-11 13:52:21 +0000
committerStefan Monnier2006-07-11 13:52:21 +0000
commita0aa7fcfd817d220c5ecc2a82f70da67f949f9a5 (patch)
tree12e1704bbeeb22a236e1a2da4b21593c46ef620f /src/syntax.c
parent5f7c79f92974b72dd3c7b56d3a844b8bd27ca2cb (diff)
downloademacs-a0aa7fcfd817d220c5ecc2a82f70da67f949f9a5.tar.gz
emacs-a0aa7fcfd817d220c5ecc2a82f70da67f949f9a5.zip
(forw_comment): Also use EMACS_INT for buffer positions.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/syntax.c b/src/syntax.c
index eb37cbb647f..fe458644caa 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -1891,9 +1891,10 @@ in_classes (c, iso_classes)
1891static int 1891static int
1892forw_comment (from, from_byte, stop, nesting, style, prev_syntax, 1892forw_comment (from, from_byte, stop, nesting, style, prev_syntax,
1893 charpos_ptr, bytepos_ptr, incomment_ptr) 1893 charpos_ptr, bytepos_ptr, incomment_ptr)
1894 int from, from_byte, stop; 1894 EMACS_INT from, from_byte, stop;
1895 int nesting, style, prev_syntax; 1895 int nesting, style, prev_syntax;
1896 int *charpos_ptr, *bytepos_ptr, *incomment_ptr; 1896 EMACS_INT *charpos_ptr, *bytepos_ptr;
1897 int *incomment_ptr;
1897{ 1898{
1898 register int c, c1; 1899 register int c, c1;
1899 register enum syntaxcode code; 1900 register enum syntaxcode code;