1
0
Fork 0

TokenStream: Fix comment buffer eating forward slashes

master
Marrub 2016-10-24 01:22:52 -04:00
parent ce3a67c737
commit dbf3994ba3
1 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,8 @@ static ssize_t Lth_TokenFileStream_read(void *cookie_, char *buf, size_t size)
buf[i++] = ' ';
continue;
}
else
buf[i++] = '/';
}
else if(cookie->getc(cookie) == EOF)
return i;