diff options
| author | matthias <matthias@NetBSD.org> | 2016-03-11 13:54:47 +0000 |
|---|---|---|
| committer | matthias <matthias@NetBSD.org> | 2016-03-11 13:54:47 +0000 |
| commit | 0bb66c0e2000e894367665df56b282be9b1df72e (patch) | |
| tree | cc83f96c2351bfa6974543702fad07268f45abc1 /usr.bin/make/parse.c | |
| parent | a34b3ab7da9acec077df6bb6e168b4ecf7055114 (diff) | |
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.
Diffstat (limited to 'usr.bin/make/parse.c')
| -rw-r--r-- | usr.bin/make/parse.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index 875759cbf59..8c09a430e1f 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -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 @@ -69,14 +69,14 @@ */ #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 #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94"; #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 /* not lint */ #endif @@ -1247,6 +1247,7 @@ ParseDoDependency(char *line) goto out; } else { /* Done with this word; on to the next. */ + cp = line; continue; } } |
