summaryrefslogtreecommitdiff
path: root/usr.bin/make/parse.c
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2022-01-27 10:34:55 +0000
committerrillig <rillig@NetBSD.org>2022-01-27 10:34:55 +0000
commit76dd5872bc1ec2aed0f8fc6d9047933e003436d7 (patch)
treebe0a79d0e4e9142bc23940eb4744352a179dd36a /usr.bin/make/parse.c
parentcb59395827616a4e319e1787d9caeb8f0c6bc30c (diff)
make: remove trailing whitespace, break lines
No binary change, except for assertion line numbers.
Diffstat (limited to 'usr.bin/make/parse.c')
-rw-r--r--usr.bin/make/parse.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index 5378b135341..d8c81bebee4 100644
--- a/usr.bin/make/parse.c
+++ b/usr.bin/make/parse.c
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.656 2022/01/27 06:02:59 sjg Exp $ */
+/* $NetBSD: parse.c,v 1.657 2022/01/27 10:34:55 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -106,7 +106,7 @@
#include "pathnames.h"
/* "@(#)parse.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: parse.c,v 1.656 2022/01/27 06:02:59 sjg Exp $");
+MAKE_RCSID("$NetBSD: parse.c,v 1.657 2022/01/27 10:34:55 rillig Exp $");
/*
* A file being read.
@@ -1294,7 +1294,6 @@ LinkVarToTargets(VarAssign *var)
for (ln = targets->first; ln != NULL; ln = ln->next)
LinkSourceVar(ln->datum, var);
-
}
static bool
@@ -1314,7 +1313,8 @@ ParseDependencySourcesMundane(char *start,
* Check if this makefile has disabled
* setting local variables.
*/
- bool target_vars = GetBooleanExpr("${.MAKE.TARGET_LOCAL_VARIABLES}", true);
+ bool target_vars = GetBooleanExpr(
+ "${.MAKE.TARGET_LOCAL_VARIABLES}", true);
if (target_vars)
LinkVarToTargets(&var);
@@ -1322,7 +1322,7 @@ ParseDependencySourcesMundane(char *start,
if (target_vars)
return true;
}
-
+
/*
* The targets take real sources, so we must beware of archive
* specifications (i.e. things with left parentheses in them)
@@ -1735,7 +1735,7 @@ Parse_Var_Keep(VarAssign *var, GNode *scope)
FStr_Done(&avalue);
}
}
-
+
static void
Parse_Var(VarAssign *var, GNode *scope)
{