Formerly read.c.~55~

This commit is contained in:
Roland McGrath 1993-03-08 18:50:09 +00:00
parent d5ef06dee5
commit e4c66e2f88

6
read.c
View file

@ -612,7 +612,7 @@ read_makefile (filename, type)
} }
filenames = multi_glob (parse_file_seq (&p2, ':', filenames = multi_glob (parse_file_seq (&p2, ':',
sizeof (struct nameseq), 1), sizeof (struct nameseq)),
sizeof (struct nameseq)); sizeof (struct nameseq));
if (*p2++ == '\0') if (*p2++ == '\0')
makefile_fatal (filename, lineno, "missing separator"); makefile_fatal (filename, lineno, "missing separator");
@ -637,7 +637,7 @@ read_makefile (filename, type)
if (p != 0) if (p != 0)
{ {
struct nameseq *target; struct nameseq *target;
target = parse_file_seq (&p2, ':', sizeof (struct nameseq), 1); target = parse_file_seq (&p2, ':', sizeof (struct nameseq));
++p2; ++p2;
if (target == 0) if (target == 0)
makefile_fatal (filename, lineno, "missing target pattern"); makefile_fatal (filename, lineno, "missing target pattern");
@ -654,7 +654,7 @@ read_makefile (filename, type)
/* Parse the dependencies. */ /* Parse the dependencies. */
deps = (struct dep *) deps = (struct dep *)
multi_glob (parse_file_seq (&p2, '\0', sizeof (struct dep), 1), multi_glob (parse_file_seq (&p2, '\0', sizeof (struct dep)),
sizeof (struct dep)); sizeof (struct dep));
commands_idx = 0; commands_idx = 0;