Module Name: src
Committed By: rillig
Date: Thu Jan 27 10:34:55 UTC 2022
Modified Files:
src/usr.bin/make: parse.c
Log Message:
make: remove trailing whitespace, break lines
No binary change, except for assertion line numbers.
To generate a diff of this commit:
cvs rdiff -u -r1.656 -r1.657 src/usr.bin/make/parse.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/parse.c
diff -u src/usr.bin/make/parse.c:1.656 src/usr.bin/make/parse.c:1.657
--- src/usr.bin/make/parse.c:1.656 Thu Jan 27 06:02:59 2022
+++ src/usr.bin/make/parse.c Thu Jan 27 10:34:55 2022
@@ -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 *star
* 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 *star
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 *sc
FStr_Done(&avalue);
}
}
-
+
static void
Parse_Var(VarAssign *var, GNode *scope)
{