TokenStream: Fix dumb typo
parent
89882c943f
commit
46f8776c89
|
@ -81,14 +81,12 @@ static ssize_t Lth_TokenFileStream_read(void *cookie_, char *buf, size_t size)
|
||||||
if(cookie->getc(cookie) == EOF)
|
if(cookie->getc(cookie) == EOF)
|
||||||
return i;
|
return i;
|
||||||
buf[i++] = ' ';
|
buf[i++] = ' ';
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
else if(cookie->getc(cookie) == '/')
|
else if(cookie->getc(cookie) == '/')
|
||||||
{
|
{
|
||||||
do if(cookie->bumpc(cookie) == EOF) return i;
|
do if(cookie->bumpc(cookie) == EOF) return i;
|
||||||
while(cookie->getc(cookie) != '\n');
|
while(cookie->getc(cookie) != '\n');
|
||||||
buf[i++] = ' ';
|
buf[i++] = ' ';
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
buf[i++] = '/';
|
buf[i++] = '/';
|
||||||
|
|
Loading…
Reference in New Issue