accept # comments in wire data input files

This commit is contained in:
Andreas Gustafsson
2000-03-16 01:09:13 +00:00
parent d0fe07af9c
commit 5d097eee54
+2
View File
@@ -98,6 +98,8 @@ main(int argc, char *argv[]) {
wp = s;
len = 0;
while (*rp != '\0') {
if (*rp == '#')
break;
if (*rp != ' ' && *rp != '\t' &&
*rp != '\r' && *rp != '\n') {
*wp++ = *rp;