On Sat, 5 Jan 2008, hadley wickham wrote:
> On Jan 5, 2008 1:40 AM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
>> I presume you want this only in a UTF-8 locale?
>
> Yes, although my assumption is that this will become an increasing
> common locale as time goes by.
Probably, except on Windows.
On Jan 5, 2008 1:40 AM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> I presume you want this only in a UTF-8 locale?
Yes, although my assumption is that this will become an increasing
common locale as time goes by.
> Currently this is done by
>
> static int SkipSpace(void)
> {
> int c;
>
I presume you want this only in a UTF-8 locale?
Currently this is done by
static int SkipSpace(void)
{
int c;
while ((c = xxgetc()) == ' ' || c == '\t' || c == '\f')
/* nothing */;
return c;
}
in gram.c. We could make use of isspace and its wide-char equivalent
iswspace.