1
0
Fork 0
Browse Source

TokenStream: Fix dumb typo

master
Marrub 6 years ago
parent
commit
46f8776c89
  1. 2
      lithos_c/src/tokenstream.c

2
lithos_c/src/tokenstream.c

@ -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++] = '/';

Loading…
Cancel
Save