Deleted Added
full compact
parse.c (296637) parse.c (297040)
1/* $NetBSD: parse.c,v 1.212 2016/02/19 06:19:06 sjg Exp $ */
1/* $NetBSD: parse.c,v 1.213 2016/03/11 13:54:47 matthias Exp $ */
2
3/*
4 * Copyright (c) 1988, 1989, 1990, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Adam de Boor.
9 *

--- 54 unchanged lines hidden (view full) ---

64 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
65 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
66 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
67 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
68 * SUCH DAMAGE.
69 */
70
71#ifndef MAKE_NATIVE
2
3/*
4 * Copyright (c) 1988, 1989, 1990, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Adam de Boor.
9 *

--- 54 unchanged lines hidden (view full) ---

64 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
65 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
66 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
67 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
68 * SUCH DAMAGE.
69 */
70
71#ifndef MAKE_NATIVE
72static char rcsid[] = "$NetBSD: parse.c,v 1.212 2016/02/19 06:19:06 sjg Exp $";
72static char rcsid[] = "$NetBSD: parse.c,v 1.213 2016/03/11 13:54:47 matthias Exp $";
73#else
74#include <sys/cdefs.h>
75#ifndef lint
76#if 0
77static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94";
78#else
73#else
74#include <sys/cdefs.h>
75#ifndef lint
76#if 0
77static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94";
78#else
79__RCSID("$NetBSD: parse.c,v 1.212 2016/02/19 06:19:06 sjg Exp $");
79__RCSID("$NetBSD: parse.c,v 1.213 2016/03/11 13:54:47 matthias Exp $");
80#endif
81#endif /* not lint */
82#endif
83
84/*-
85 * parse.c --
86 * Functions to parse a makefile.
87 *

--- 1168 unchanged lines hidden (view full) ---

1256 * specification. On error, line should remain untouched.
1257 */
1258 if (Arch_ParseArchive(&line, targets, VAR_CMD) != SUCCESS) {
1259 Parse_Error(PARSE_FATAL,
1260 "Error in archive specification: \"%s\"", line);
1261 goto out;
1262 } else {
1263 /* Done with this word; on to the next. */
80#endif
81#endif /* not lint */
82#endif
83
84/*-
85 * parse.c --
86 * Functions to parse a makefile.
87 *

--- 1168 unchanged lines hidden (view full) ---

1256 * specification. On error, line should remain untouched.
1257 */
1258 if (Arch_ParseArchive(&line, targets, VAR_CMD) != SUCCESS) {
1259 Parse_Error(PARSE_FATAL,
1260 "Error in archive specification: \"%s\"", line);
1261 goto out;
1262 } else {
1263 /* Done with this word; on to the next. */
1264 cp = line;
1264 continue;
1265 }
1266 }
1267
1268 if (!*cp) {
1269 /*
1270 * We got to the end of the line while we were still
1271 * looking at targets.

--- 2007 unchanged lines hidden ---
1265 continue;
1266 }
1267 }
1268
1269 if (!*cp) {
1270 /*
1271 * We got to the end of the line while we were still
1272 * looking at targets.

--- 2007 unchanged lines hidden ---