diff --git a/gencat/tree.c b/gencat/tree.c index f07deed..200a044 100644 --- a/gencat/tree.c +++ b/gencat/tree.c @@ -148,6 +148,8 @@ void read_desc(FILE *file) while (fgets(buf, sizeof(buf), file)) { lineno++; + if (buf[0] == '#') + continue; p = strchr(buf, '\n'); if (p) *p = 0;