X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fgen%2Futil.c;h=10f912c6b4b5e72cefc282315f4a3fd404383cb4;hb=dfe1da9485ec22fb335d97de1421ef717aa6f45e;hp=5b1aa4889ee7ad6d4751e513d13233ef88faf2d6;hpb=f9d17902a35b6403b7c8354845e9f13f882c1c8e;p=libc-test diff --git a/src/math/gen/util.c b/src/math/gen/util.c index 5b1aa48..10f912c 100644 --- a/src/math/gen/util.c +++ b/src/math/gen/util.c @@ -73,7 +73,7 @@ char *dropcomm(char *buf) char *p = buf; for (; *p; p++) - if (*p == '/' && p[1] == '/') { + if ((*p == '/' && p[1] == '/') || *p == '#') { *p = 0; break; }