make(1): normalize whitespace in source code
There is no more space tab. Either only tabs or only spaces or tabs followed by spaces, but not spaces followed by tabs.
This commit is contained in:
parent
63c24fdcdf
commit
c4def5ee7a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: arch.c,v 1.123 2020/09/26 16:00:12 rillig Exp $ */
|
||||
/* $NetBSD: arch.c,v 1.124 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990, 1993
|
||||
@ -79,7 +79,8 @@
|
||||
* is referenced.
|
||||
*
|
||||
* The interface to this module is:
|
||||
* Arch_ParseArchive Given an archive specification, return a list
|
||||
* Arch_ParseArchive
|
||||
* Given an archive specification, return a list
|
||||
* of GNode's, one for each member in the spec.
|
||||
* FALSE is returned if the specification is
|
||||
* invalid for some reason.
|
||||
@ -133,7 +134,7 @@
|
||||
#include "config.h"
|
||||
|
||||
/* "@(#)arch.c 8.2 (Berkeley) 1/2/94" */
|
||||
MAKE_RCSID("$NetBSD: arch.c,v 1.123 2020/09/26 16:00:12 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: arch.c,v 1.124 2020/09/27 21:35:16 rillig Exp $");
|
||||
|
||||
#ifdef TARGET_MACHINE
|
||||
#undef MAKE_MACHINE
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: compat.c,v 1.155 2020/09/27 11:43:46 rillig Exp $ */
|
||||
/* $NetBSD: compat.c,v 1.156 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
|
||||
@ -99,7 +99,7 @@
|
||||
#include "pathnames.h"
|
||||
|
||||
/* "@(#)compat.c 8.2 (Berkeley) 3/19/94" */
|
||||
MAKE_RCSID("$NetBSD: compat.c,v 1.155 2020/09/27 11:43:46 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: compat.c,v 1.156 2020/09/27 21:35:16 rillig Exp $");
|
||||
|
||||
static GNode *curTarg = NULL;
|
||||
static void CompatInterrupt(int);
|
||||
@ -189,8 +189,8 @@ Compat_RunCommand(const char *cmdp, struct GNode *gn)
|
||||
{
|
||||
char *cmdStart; /* Start of expanded command */
|
||||
char *bp;
|
||||
Boolean silent, /* Don't print command */
|
||||
doIt; /* Execute even if -n */
|
||||
Boolean silent; /* Don't print command */
|
||||
Boolean doIt; /* Execute even if -n */
|
||||
volatile Boolean errCheck; /* Check errors */
|
||||
int reason; /* Reason for child's death */
|
||||
int status; /* Description of child's death */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cond.c,v 1.152 2020/09/26 16:00:12 rillig Exp $ */
|
||||
/* $NetBSD: cond.c,v 1.153 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
|
||||
@ -93,7 +93,7 @@
|
||||
#include "dir.h"
|
||||
|
||||
/* "@(#)cond.c 8.2 (Berkeley) 1/2/94" */
|
||||
MAKE_RCSID("$NetBSD: cond.c,v 1.152 2020/09/26 16:00:12 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: cond.c,v 1.153 2020/09/27 21:35:16 rillig Exp $");
|
||||
|
||||
/*
|
||||
* The parsing of conditional expressions is based on this grammar:
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dir.c,v 1.148 2020/09/26 17:15:20 rillig Exp $ */
|
||||
/* $NetBSD: dir.c,v 1.149 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
|
||||
@ -86,7 +86,8 @@
|
||||
*
|
||||
* Dir_SetPATH Set ${.PATH} to reflect state of dirSearchPath.
|
||||
*
|
||||
* Dir_HasWildcards Returns TRUE if the name given it needs to
|
||||
* Dir_HasWildcards
|
||||
* Returns TRUE if the name given it needs to
|
||||
* be wildcard-expanded.
|
||||
*
|
||||
* Dir_Expand Given a pattern and a path, return a Lst of names
|
||||
@ -96,14 +97,14 @@
|
||||
* If it exists, the entire path is returned.
|
||||
* Otherwise NULL is returned.
|
||||
*
|
||||
* Dir_FindHereOrAbove Search for a path in the current directory and
|
||||
* Dir_FindHereOrAbove
|
||||
* Search for a path in the current directory and
|
||||
* then all the directories above it in turn until
|
||||
* the path is found or we reach the root ("/").
|
||||
*
|
||||
* Dir_MTime Return the modification time of a node. The file
|
||||
* is searched for along the default search path.
|
||||
* The path and mtime fields of the node are filled
|
||||
* in.
|
||||
* The path and mtime fields of the node are filled in.
|
||||
*
|
||||
* Dir_AddDir Add a directory to a search path.
|
||||
*
|
||||
@ -116,6 +117,7 @@
|
||||
* things that can be freed for the element as long
|
||||
* as the element is no longer referenced by any other
|
||||
* search path.
|
||||
*
|
||||
* Dir_ClearPath Resets a search path to the empty list.
|
||||
*
|
||||
* For debugging:
|
||||
@ -134,7 +136,7 @@
|
||||
#include "job.h"
|
||||
|
||||
/* "@(#)dir.c 8.2 (Berkeley) 1/2/94" */
|
||||
MAKE_RCSID("$NetBSD: dir.c,v 1.148 2020/09/26 17:15:20 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: dir.c,v 1.149 2020/09/27 21:35:16 rillig Exp $");
|
||||
|
||||
#define DIR_DEBUG0(fmt) \
|
||||
if (!DEBUG(DIR)) (void) 0; else fprintf(debug_file, fmt)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dir.h,v 1.25 2020/09/22 04:05:41 rillig Exp $ */
|
||||
/* $NetBSD: dir.h,v 1.26 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: for.c,v 1.87 2020/09/27 16:52:22 rillig Exp $ */
|
||||
/* $NetBSD: for.c,v 1.88 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, The Regents of the University of California.
|
||||
@ -53,6 +53,7 @@
|
||||
*
|
||||
* Interface:
|
||||
* For_Eval Evaluate the loop in the passed line.
|
||||
*
|
||||
* For_Run Run accumulated loop
|
||||
*/
|
||||
|
||||
@ -60,7 +61,7 @@
|
||||
#include "strlist.h"
|
||||
|
||||
/* "@(#)for.c 8.1 (Berkeley) 6/6/93" */
|
||||
MAKE_RCSID("$NetBSD: for.c,v 1.87 2020/09/27 16:52:22 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: for.c,v 1.88 2020/09/27 21:35:16 rillig Exp $");
|
||||
|
||||
typedef enum {
|
||||
FOR_SUB_ESCAPE_CHAR = 0x0001,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hash.c,v 1.33 2020/09/26 14:48:31 rillig Exp $ */
|
||||
/* $NetBSD: hash.c,v 1.34 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
|
||||
@ -69,17 +69,17 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/* hash.c --
|
||||
*
|
||||
/*
|
||||
* This module contains routines to manipulate a hash table.
|
||||
* See hash.h for a definition of the structure of the hash
|
||||
* table. Hash tables grow automatically as the amount of
|
||||
* information increases.
|
||||
*/
|
||||
|
||||
#include "make.h"
|
||||
|
||||
/* "@(#)hash.c 8.1 (Berkeley) 6/6/93" */
|
||||
MAKE_RCSID("$NetBSD: hash.c,v 1.33 2020/09/26 14:48:31 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: hash.c,v 1.34 2020/09/27 21:35:16 rillig Exp $");
|
||||
|
||||
/*
|
||||
* Forward references to local procedures that are used before they're
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hash.h,v 1.24 2020/09/26 14:48:31 rillig Exp $ */
|
||||
/* $NetBSD: hash.h,v 1.25 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: job.c,v 1.245 2020/09/27 19:13:46 rillig Exp $ */
|
||||
/* $NetBSD: job.c,v 1.246 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
|
||||
@ -76,13 +76,15 @@
|
||||
* Interface:
|
||||
* Job_Make Start the creation of the given target.
|
||||
*
|
||||
* Job_CatchChildren Check for and handle the termination of any
|
||||
* Job_CatchChildren
|
||||
* Check for and handle the termination of any
|
||||
* children. This must be called reasonably
|
||||
* frequently to keep the whole make going at
|
||||
* a decent clip, since job table entries aren't
|
||||
* removed until their process is caught this way.
|
||||
*
|
||||
* Job_CatchOutput Print any output our children have produced.
|
||||
* Job_CatchOutput
|
||||
* Print any output our children have produced.
|
||||
* Should also be called fairly frequently to
|
||||
* keep the user informed of what's going on.
|
||||
* If no output is waiting, it will block for
|
||||
@ -112,7 +114,8 @@
|
||||
* just kills them. It should only be called in
|
||||
* an emergency, as it were.
|
||||
*
|
||||
* Job_CheckCommands Verify that the commands for a target are
|
||||
* Job_CheckCommands
|
||||
* Verify that the commands for a target are
|
||||
* ok. Provide them if necessary and possible.
|
||||
*
|
||||
* Job_Touch Update a target without really updating it.
|
||||
@ -140,7 +143,7 @@
|
||||
#include "trace.h"
|
||||
|
||||
/* "@(#)job.c 8.2 (Berkeley) 3/19/94" */
|
||||
MAKE_RCSID("$NetBSD: job.c,v 1.245 2020/09/27 19:13:46 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: job.c,v 1.246 2020/09/27 21:35:16 rillig Exp $");
|
||||
|
||||
# define STATIC static
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: job.h,v 1.50 2020/09/27 19:17:03 rillig Exp $ */
|
||||
/* $NetBSD: job.h,v 1.51 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: lst.c,v 1.72 2020/09/26 17:15:20 rillig Exp $ */
|
||||
/* $NetBSD: lst.c,v 1.73 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990, 1993
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
#include "make.h"
|
||||
|
||||
MAKE_RCSID("$NetBSD: lst.c,v 1.72 2020/09/26 17:15:20 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: lst.c,v 1.73 2020/09/27 21:35:16 rillig Exp $");
|
||||
|
||||
/* Allocate and initialize a list node.
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: main.c,v 1.350 2020/09/27 16:52:22 rillig Exp $ */
|
||||
/* $NetBSD: main.c,v 1.351 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990, 1993
|
||||
@ -126,7 +126,7 @@
|
||||
#endif
|
||||
|
||||
/* "@(#)main.c 8.3 (Berkeley) 3/19/94" */
|
||||
MAKE_RCSID("$NetBSD: main.c,v 1.350 2020/09/27 16:52:22 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: main.c,v 1.351 2020/09/27 21:35:16 rillig Exp $");
|
||||
#if defined(MAKE_NATIVE) && !defined(lint)
|
||||
__COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1990, 1993\
|
||||
The Regents of the University of California. All rights reserved.");
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: make.c,v 1.150 2020/09/27 13:27:50 rillig Exp $ */
|
||||
/* $NetBSD: make.c,v 1.151 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990, 1993
|
||||
@ -107,7 +107,7 @@
|
||||
#include "job.h"
|
||||
|
||||
/* "@(#)make.c 8.1 (Berkeley) 6/6/93" */
|
||||
MAKE_RCSID("$NetBSD: make.c,v 1.150 2020/09/27 13:27:50 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: make.c,v 1.151 2020/09/27 21:35:16 rillig Exp $");
|
||||
|
||||
/* Sequence # to detect recursion. */
|
||||
static unsigned int checked = 1;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: make.h,v 1.147 2020/09/26 16:00:12 rillig Exp $ */
|
||||
/* $NetBSD: make.h,v 1.148 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990, 1993
|
||||
@ -408,14 +408,16 @@ typedef enum {
|
||||
extern StringList *create; /* The list of target names specified on the
|
||||
* command line. used to resolve #if
|
||||
* make(...) statements */
|
||||
extern SearchPath *dirSearchPath; /* The list of directories to search when
|
||||
extern SearchPath *dirSearchPath;
|
||||
/* The list of directories to search when
|
||||
* looking for targets */
|
||||
|
||||
extern Boolean compatMake; /* True if we are make compatible */
|
||||
extern Boolean ignoreErrors; /* True if should ignore all errors */
|
||||
extern Boolean beSilent; /* True if should print no commands */
|
||||
extern Boolean noExecute; /* True if should execute nothing */
|
||||
extern Boolean noRecursiveExecute; /* True if should execute nothing */
|
||||
extern Boolean noRecursiveExecute;
|
||||
/* True if should execute nothing */
|
||||
extern Boolean allPrecious; /* True if every target is precious */
|
||||
extern Boolean deleteOnError; /* True if failed targets should be deleted */
|
||||
extern Boolean keepgoing; /* True if should continue on unaffected
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: parse.c,v 1.337 2020/09/27 12:42:09 rillig Exp $ */
|
||||
/* $NetBSD: parse.c,v 1.338 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990, 1993
|
||||
@ -107,6 +107,7 @@
|
||||
* Parse_Error Function called when an error occurs in
|
||||
* parsing. Used by the variable and
|
||||
* conditional modules.
|
||||
*
|
||||
* Parse_MainName Returns a Lst of the main target to create.
|
||||
*/
|
||||
|
||||
@ -131,7 +132,7 @@
|
||||
#include "pathnames.h"
|
||||
|
||||
/* "@(#)parse.c 8.3 (Berkeley) 3/19/94" */
|
||||
MAKE_RCSID("$NetBSD: parse.c,v 1.337 2020/09/27 12:42:09 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: parse.c,v 1.338 2020/09/27 21:35:16 rillig Exp $");
|
||||
|
||||
/* types and constants */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: suff.c,v 1.169 2020/09/26 17:15:20 rillig Exp $ */
|
||||
/* $NetBSD: suff.c,v 1.170 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990, 1993
|
||||
@ -91,22 +91,25 @@
|
||||
* Dir_MakeFlags to create the .INCLUDES and
|
||||
* .LIBS global variables.
|
||||
*
|
||||
* Suff_ClearSuffixes Clear out all the suffixes and defined
|
||||
* Suff_ClearSuffixes
|
||||
* Clear out all the suffixes and defined
|
||||
* transformations.
|
||||
*
|
||||
* Suff_IsTransform Return TRUE if the passed string is the lhs
|
||||
* Suff_IsTransform
|
||||
* Return TRUE if the passed string is the lhs
|
||||
* of a transformation rule.
|
||||
*
|
||||
* Suff_AddSuffix Add the passed string as another known suffix.
|
||||
*
|
||||
* Suff_GetPath Return the search path for the given suffix.
|
||||
*
|
||||
* Suff_AddInclude Mark the given suffix as denoting an include
|
||||
* file.
|
||||
* Suff_AddInclude
|
||||
* Mark the given suffix as denoting an include file.
|
||||
*
|
||||
* Suff_AddLib Mark the given suffix as denoting a library.
|
||||
*
|
||||
* Suff_AddTransform Add another transformation to the suffix
|
||||
* Suff_AddTransform
|
||||
* Add another transformation to the suffix
|
||||
* graph. Returns GNode suitable for framing, I
|
||||
* mean, tacking commands, attributes, etc. on.
|
||||
*
|
||||
@ -118,15 +121,15 @@
|
||||
* bottom-most node added to the graph or NULL
|
||||
* if the target had no implicit sources.
|
||||
*
|
||||
* Suff_FindPath Return the appropriate path to search in
|
||||
* order to find the node.
|
||||
* Suff_FindPath Return the appropriate path to search in order to
|
||||
* find the node.
|
||||
*/
|
||||
|
||||
#include "make.h"
|
||||
#include "dir.h"
|
||||
|
||||
/* "@(#)suff.c 8.4 (Berkeley) 3/21/94" */
|
||||
MAKE_RCSID("$NetBSD: suff.c,v 1.169 2020/09/26 17:15:20 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: suff.c,v 1.170 2020/09/27 21:35:16 rillig Exp $");
|
||||
|
||||
#define SUFF_DEBUG0(fmt) \
|
||||
if (!DEBUG(SUFF)) (void) 0; else fprintf(debug_file, fmt)
|
||||
@ -1103,9 +1106,8 @@ static Src *
|
||||
SuffFindCmds(Src *targ, SrcList *slst)
|
||||
{
|
||||
GNodeListNode *gln;
|
||||
|
||||
GNode *t, /* Target GNode */
|
||||
*s; /* Source GNode */
|
||||
GNode *t; /* Target GNode */
|
||||
GNode *s; /* Source GNode */
|
||||
size_t prefLen; /* The length of the defined prefix */
|
||||
Suff *suff; /* Suffix on matching beastie */
|
||||
Src *ret; /* Return value */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: targ.c,v 1.105 2020/09/27 12:10:51 rillig Exp $ */
|
||||
/* $NetBSD: targ.c,v 1.106 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990, 1993
|
||||
@ -89,7 +89,8 @@
|
||||
*
|
||||
* Targ_GetNode Find the node, or create it.
|
||||
*
|
||||
* Targ_NewInternalNode Create an internal node.
|
||||
* Targ_NewInternalNode
|
||||
* Create an internal node.
|
||||
*
|
||||
* Targ_FindList Given a list of names, find nodes for all
|
||||
* of them, creating them as necessary.
|
||||
@ -103,15 +104,15 @@
|
||||
* Targ_Precious Return TRUE if the target is precious and
|
||||
* should not be removed if we are interrupted.
|
||||
*
|
||||
* Targ_Propagate Propagate information between related
|
||||
* nodes. Should be called after the
|
||||
* makefiles are parsed but before any
|
||||
* action is taken.
|
||||
* Targ_Propagate Propagate information between related nodes.
|
||||
* Should be called after the makefiles are parsed
|
||||
* but before any action is taken.
|
||||
*
|
||||
* Debugging:
|
||||
* Targ_PrintGraph Print out the entire graphm all variables
|
||||
* and statistics for the directory cache. Should
|
||||
* print something for suffixes, too, but...
|
||||
* Targ_PrintGraph
|
||||
* Print out the entire graphm all variables and
|
||||
* statistics for the directory cache. Should print
|
||||
* something for suffixes, too, but...
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
@ -121,7 +122,7 @@
|
||||
#include "dir.h"
|
||||
|
||||
/* "@(#)targ.c 8.2 (Berkeley) 3/19/94" */
|
||||
MAKE_RCSID("$NetBSD: targ.c,v 1.105 2020/09/27 12:10:51 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: targ.c,v 1.106 2020/09/27 21:35:16 rillig Exp $");
|
||||
|
||||
static GNodeList *allTargets; /* the list of all targets found so far */
|
||||
#ifdef CLEANUP
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: cond-func-defined.mk,v 1.3 2020/08/20 17:23:43 rillig Exp $
|
||||
# $NetBSD: cond-func-defined.mk,v 1.4 2020/09/27 21:35:16 rillig Exp $
|
||||
#
|
||||
# Tests for the defined() function in .if conditions.
|
||||
|
||||
@ -9,12 +9,12 @@ ${:UA B}= variable name with spaces
|
||||
.error
|
||||
.endif
|
||||
|
||||
# Horizontal whitespace after the opening parenthesis is ignored.
|
||||
# Horizontal whitespace (space tab) after the opening parenthesis is ignored.
|
||||
.if !defined( DEF)
|
||||
.error
|
||||
.endif
|
||||
|
||||
# Horizontal whitespace before the closing parenthesis is ignored.
|
||||
# Horizontal whitespace (space tab) before the closing parenthesis is ignored.
|
||||
.if !defined(DEF )
|
||||
.error
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: cond-func.mk,v 1.2 2020/09/23 08:11:28 rillig Exp $
|
||||
# $NetBSD: cond-func.mk,v 1.3 2020/09/27 21:35:16 rillig Exp $
|
||||
#
|
||||
# Tests for those parts of the functions in .if conditions that are common
|
||||
# among several functions.
|
||||
@ -15,12 +15,12 @@ ${:UVAR{value}}= variable name with braces
|
||||
.error
|
||||
.endif
|
||||
|
||||
# Horizontal whitespace after the opening parenthesis is ignored.
|
||||
# Horizontal whitespace (space tab) after the opening parenthesis is ignored.
|
||||
.if !defined( DEF)
|
||||
.error
|
||||
.endif
|
||||
|
||||
# Horizontal whitespace before the closing parenthesis is ignored.
|
||||
# Horizontal whitespace (space tab) before the closing parenthesis is ignored.
|
||||
.if !defined(DEF )
|
||||
.error
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: posix1.mk,v 1.4 2020/08/10 18:19:58 rillig Exp $
|
||||
# $NetBSD: posix1.mk,v 1.5 2020/09/27 21:35:16 rillig Exp $
|
||||
|
||||
# Keep the default suffixes from interfering, just in case.
|
||||
.SUFFIXES:
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: var.c,v 1.545 2020/09/27 16:52:22 rillig Exp $ */
|
||||
/* $NetBSD: var.c,v 1.546 2020/09/27 21:35:16 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990, 1993
|
||||
@ -121,7 +121,7 @@
|
||||
#include "metachar.h"
|
||||
|
||||
/* "@(#)var.c 8.3 (Berkeley) 3/19/94" */
|
||||
MAKE_RCSID("$NetBSD: var.c,v 1.545 2020/09/27 16:52:22 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: var.c,v 1.546 2020/09/27 21:35:16 rillig Exp $");
|
||||
|
||||
#define VAR_DEBUG_IF(cond, fmt, ...) \
|
||||
if (!(DEBUG(VAR) && (cond))) \
|
||||
|
Loading…
Reference in New Issue
Block a user