| 1930 | } |
| 1931 | |
| 1932 | static void |
| 1933 | printb(int b, const char *str) |
| 1934 | { |
| 1935 | int i; |
| 1936 | int gotsome = 0; |
| 1937 | |
| 1938 | if (b == 0) |
| 1939 | return; |
| 1940 | while ((i = *str++) != 0) { |
| 1941 | if (b & (1 << (i-1))) { |
| 1942 | if (gotsome == 0) |
| 1943 | i = '<'; |
| 1944 | else |
| 1945 | i = ','; |
| 1946 | putchar(i); |
| 1947 | gotsome = 1; |
| 1948 | for (; (i = *str) > 32; str++) |
| 1949 | putchar(i); |
| 1950 | } else |
| 1951 | while (*str > 32) |
| 1952 | str++; |
| 1953 | } |
| 1954 | if (gotsome) |
| 1955 | putchar('>'); |
| 1956 | } |
| 1957 | |
| 1958 | int |
| 1959 | keyword(const char *cp) |
no test coverage detected