version 1.61, 2015/05/19 19:22:14 |
version 1.62, 2016/11/03 15:50:28 |
|
|
} |
} |
putchar('\n'); |
putchar('\n'); |
buf[ifa++] = '\0'; |
buf[ifa++] = '\0'; |
printf(".Fo %s\n", buf + ifo); |
|
dict_put(buf + ifo, 0, MDOC_Fo); |
dict_put(buf + ifo, 0, MDOC_Fo); |
buf[ifc++] = '\0'; |
buf[ifc++] = '\0'; |
for (;;) { |
if (strcmp(buf + ifa, "void")) { |
cp = strchr(buf + ifa, ','); |
printf(".Fo %s\n", buf + ifo); |
if (cp != NULL) { |
for (;;) { |
cp2 = cp; |
cp = strchr(buf + ifa, ','); |
*cp++ = '\0'; |
if (cp != NULL) { |
} else |
cp2 = cp; |
cp2 = strchr(buf + ifa, '\0'); |
*cp++ = '\0'; |
while (isalnum((unsigned char)cp2[-1]) || |
} else |
'_' == cp2[-1]) |
cp2 = strchr(buf + ifa, '\0'); |
cp2--; |
while (isalnum((unsigned char)cp2[-1]) |
if ('\0' != *cp2) |
|| '_' == cp2[-1]) |
dict_put(cp2, 0, MDOC_Fa); |
cp2--; |
register_type(buf + ifa); |
if ('\0' != *cp2) |
if (strchr(buf + ifa, ' ') == NULL) |
dict_put(cp2, 0, MDOC_Fa); |
printf(".Fa %s\n", buf + ifa); |
register_type(buf + ifa); |
else |
if (strchr(buf + ifa, ' ') == NULL) |
printf(".Fa \"%s\"\n", buf + ifa); |
printf(".Fa %s\n", buf + ifa); |
if (cp == NULL) |
else |
break; |
printf(".Fa \"%s\"\n", |
while (*cp == ' ' || *cp == '\t') |
buf + ifa); |
cp++; |
if (cp == NULL) |
ifa = cp - buf; |
break; |
} |
while (*cp == ' ' || *cp == '\t') |
puts(".Fc"); |
cp++; |
|
ifa = cp - buf; |
|
} |
|
puts(".Fc"); |
|
} else |
|
printf(".Fn %s void\n", buf + ifo); |
if (buf[ifc] == ';') |
if (buf[ifc] == ';') |
ifc++; |
ifc++; |
if (ifc < inl) { |
if (ifc < inl) { |