Lines Matching refs:input
134 struct input {
139 LIST_ENTRY(input) link;
142 static LIST_HEAD(, input) inputs = LIST_HEAD_INITIALIZER(inputs);
143 static struct input *input = NULL;
157 struct input *ip;
166 input = ip;
172 if (input == NULL)
175 fclose(input->fp);
176 free(input->fname);
177 free(input->path);
178 LIST_REMOVE(input, link);
179 free(input);
181 input = LIST_FIRST(&inputs);
238 if (input == NULL)
241 if ((c = getc(input->fp)) != EOF)
261 * Parsing input
350 input->lno++;
368 input->lno++;
469 warnx("%u: unexpected character '%c'", input->lno, c);
471 warnx("%u: unexpected character 0x%02x", input->lno, (u_int) c);
617 warnx("Suboid expected - line %d", input->lno);
622 warnx("Node name expected at line %d", input->lno);
668 warnx("Bad number of indexes at line %d", input->lno);
675 warnx("String expected after indexes at line %d", input->lno);
728 warnx("')' expected at end of line %d", input->lno);
843 warnx("Unexpected token at line %d - %s", input->lno,
844 input->fname);
892 input->fname);