Mercurial > emacs
comparison src/syntax.c @ 71734:60cfbf52270a
(Fforward_comment): Use type int for `stop', `count1', `out_charpos'
and `out_bytepos' too; revert Stef's previous change.
author | John Paul Wallington <jpw@pobox.com> |
---|---|
date | Sun, 09 Jul 2006 03:31:25 +0000 |
parents | 1326ca5680f2 |
children | a5eb5d8b1eca |
comparison
equal
deleted
inserted
replaced
71733:1326ca5680f2 | 71734:60cfbf52270a |
---|---|
1992 (count) | 1992 (count) |
1993 Lisp_Object count; | 1993 Lisp_Object count; |
1994 { | 1994 { |
1995 register int from; | 1995 register int from; |
1996 int from_byte; | 1996 int from_byte; |
1997 register EMACS_INT stop; | 1997 register int stop; |
1998 register int c, c1; | 1998 register int c, c1; |
1999 register enum syntaxcode code; | 1999 register enum syntaxcode code; |
2000 int comstyle = 0; /* style of comment encountered */ | 2000 int comstyle = 0; /* style of comment encountered */ |
2001 int comnested = 0; /* whether the comment is nestable or not */ | 2001 int comnested = 0; /* whether the comment is nestable or not */ |
2002 int found; | 2002 int found; |
2003 EMACS_INT count1; | 2003 int count1; |
2004 EMACS_INT out_charpos, out_bytepos; | 2004 int out_charpos, out_bytepos; |
2005 int dummy; | 2005 int dummy; |
2006 | 2006 |
2007 CHECK_NUMBER (count); | 2007 CHECK_NUMBER (count); |
2008 count1 = XINT (count); | 2008 count1 = XINT (count); |
2009 stop = count1 > 0 ? ZV : BEGV; | 2009 stop = count1 > 0 ? ZV : BEGV; |