1
0
Fork 0

TokenStream: Fix dumb typo

master
Marrub 2016-11-21 01:04:44 -05:00
parent 89882c943f
commit 46f8776c89
1 changed files with 0 additions and 2 deletions

View File

@ -81,14 +81,12 @@ static ssize_t Lth_TokenFileStream_read(void *cookie_, char *buf, size_t size)
if(cookie->getc(cookie) == EOF)
return i;
buf[i++] = ' ';
continue;
}
else if(cookie->getc(cookie) == '/')
{
do if(cookie->bumpc(cookie) == EOF) return i;
while(cookie->getc(cookie) != '\n');
buf[i++] = ' ';
continue;
}
else
buf[i++] = '/';