make parsing of library member targets work. So

lib.a(member.o): something
	cp something member.o
	ar r lib.a member.o
	rm member.o

will work now.
This commit is contained in:
matthias 2016-03-11 13:54:47 +00:00
parent 56c764b63d
commit 449c0b7d1f
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: parse.c,v 1.212 2016/02/19 06:19:06 sjg Exp $ */ /* $NetBSD: parse.c,v 1.213 2016/03/11 13:54:47 matthias Exp $ */
/* /*
* Copyright (c) 1988, 1989, 1990, 1993 * Copyright (c) 1988, 1989, 1990, 1993
@ -69,14 +69,14 @@
*/ */
#ifndef MAKE_NATIVE #ifndef MAKE_NATIVE
static char rcsid[] = "$NetBSD: parse.c,v 1.212 2016/02/19 06:19:06 sjg Exp $"; static char rcsid[] = "$NetBSD: parse.c,v 1.213 2016/03/11 13:54:47 matthias Exp $";
#else #else
#include <sys/cdefs.h> #include <sys/cdefs.h>
#ifndef lint #ifndef lint
#if 0 #if 0
static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94"; static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94";
#else #else
__RCSID("$NetBSD: parse.c,v 1.212 2016/02/19 06:19:06 sjg Exp $"); __RCSID("$NetBSD: parse.c,v 1.213 2016/03/11 13:54:47 matthias Exp $");
#endif #endif
#endif /* not lint */ #endif /* not lint */
#endif #endif
@ -1247,6 +1247,7 @@ ParseDoDependency(char *line)
goto out; goto out;
} else { } else {
/* Done with this word; on to the next. */ /* Done with this word; on to the next. */
cp = line;
continue; continue;
} }
} }