print "#bla..." comments

This commit is contained in:
tTh 2023-04-15 17:30:50 +02:00
parent 02bbdc7249
commit 2a02aab5a9

View File

@ -224,6 +224,10 @@ while(NULL!=(cptr=fgets(line, LINE_SZ, fpin))) {
// fprintf(stderr, "no token ?\n"); // fprintf(stderr, "no token ?\n");
continue; continue;
} }
if ('#' == cptr[0]) { // found a comment
fprintf(stderr, " %s\n", cptr);
continue;
}
token = cptr; token = cptr;
tokenid = type_of_the_line(cptr); tokenid = type_of_the_line(cptr);
if (verbosity > 1) if (verbosity > 1)