projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add fgets-eof regression test
[libc-test]
/
src
/
math
/
gen
/
util.c
diff --git
a/src/math/gen/util.c
b/src/math/gen/util.c
index
5b1aa48
..
10f912c
100644
(file)
--- 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;
}