| 145 | ****************************************************************************/ |
| 146 | |
| 147 | static char *read_line(FILE *stream) |
| 148 | { |
| 149 | char *ptr; |
| 150 | |
| 151 | for (; ; ) |
| 152 | { |
| 153 | g_line[MAX_LINE] = '\0'; |
| 154 | if (!fgets(g_line, MAX_LINE, stream)) |
| 155 | { |
| 156 | return NULL; |
| 157 | } |
| 158 | else |
| 159 | { |
| 160 | ptr = skip_space(g_line); |
| 161 | if (*ptr && *ptr != '#' && *ptr != '\n') |
| 162 | { |
| 163 | return ptr; |
| 164 | } |
| 165 | } |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | /**************************************************************************** |
| 170 | * Name: parse_line |
no test coverage detected