Lines Matching refs:line
84 line_error(char *where, int line, char *msg)
86 log_message(MSG_ERROR, "%s:%d: %s\n", where, line, msg);
94 char *buffer, *line, *target, *next;
105 while ((line = fgets(buffer, PARSE_LINE, fd)) != NULL) {
107 if ((next = strpbrk(line, " \t#\n")) != NULL)
109 if (strlen(line) == 0)
111 if ((target = strchr(line, ':')) == NULL) {
112 line_error(where, lnum, "Badly formed line");
116 if (strlen(line) == 0) {
124 for (; line; line = next) {
125 if ((next = strchr(line, ';')) != NULL)
127 if (strlen(line) == 0)
130 define_hook(env, line, strlen(line), target);