commit - f629615182e2c7fdb39ef1cb453a80a034eb0f37
commit + bd4b153ae4e3d8a9e99de300b22a7ca059db49de
blob - b36e5d8963bad822dcc39dc2c6accd1f1f4dbf23
blob + 4ba03156e9d159ef38c285b46355e56040b76423
--- make/make.c
+++ make/make.c
return 0;
}
- // TODO: handle empty fields
+ /* TODO: handle empty fields */
p = trim (p);
if (strcmp (p, "DIR") == 0) {
sub->type = SC_DIR;
}
m->lazy = 1;
} else if (t[-1] == ':') {
- // handle both `:=` and `::=`
+ /* handle both `:=` and `::=` */
t[t[-2] == ':' ? -2 : -1] = '\0';
m->lazy = 0;
m->value = strdup (trim (expand (sc, trim (t + 1), NULL)));
p += 2; /* skip ./ */
}
- // TODO: this should be sorted from top to down
+ /* TODO: this should be sorted from top to down */
for (f = sc->dir->files; f != NULL; f = f->next) {
if (f->help == NULL)
continue;