| 206 | } |
| 207 | |
| 208 | char *skip_comment() |
| 209 | { |
| 210 | register char *s; |
| 211 | |
| 212 | int st_lineno = lineno; |
| 213 | char *st_line = dup_line(); |
| 214 | char *st_cptr = st_line + (cptr - line); |
| 215 | |
| 216 | s = cptr + 2; |
| 217 | while (s[0] != '*' || s[1] != '/') { |
| 218 | if (*s == '\n') { |
| 219 | if ((s = get_line()) == 0) |
| 220 | unterminated_comment(st_lineno, st_line, st_cptr); } |
| 221 | else |
| 222 | ++s; } |
| 223 | FREE(st_line); |
| 224 | return cptr = s + 2; |
| 225 | } |
| 226 | |
| 227 | int nextc() |
| 228 | { |
no test coverage detected