1
0
Fork 0
Browse Source

TokenStream: Fix comment buffer eating forward slashes

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

2
lithos_c/src/tokenstream.c

@ -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;

Loading…
Cancel
Save