Module Name: src
Committed By: rillig
Date: Fri Apr 15 12:19:28 UTC 2022
Modified Files:
src/usr.bin/make: targ.c
Log Message:
make: add .USEBEFORE to Targ_PrintType
When .USEBEFORE was added in targ.c 1.22 from 2001-07-03, it was not
added to Targ_PrintType, probably because the PRINTBIT macro hid the
identifier OP_USE and only used USE.
To generate a diff of this commit:
cvs rdiff -u -r1.176 -r1.177 src/usr.bin/make/targ.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/targ.c
diff -u src/usr.bin/make/targ.c:1.176 src/usr.bin/make/targ.c:1.177
--- src/usr.bin/make/targ.c:1.176 Fri Jan 7 20:50:35 2022
+++ src/usr.bin/make/targ.c Fri Apr 15 12:19:28 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: targ.c,v 1.176 2022/01/07 20:50:35 rillig Exp $ */
+/* $NetBSD: targ.c,v 1.177 2022/04/15 12:19:28 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -107,7 +107,7 @@
#include "dir.h"
/* "@(#)targ.c 8.2 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: targ.c,v 1.176 2022/01/07 20:50:35 rillig Exp $");
+MAKE_RCSID("$NetBSD: targ.c,v 1.177 2022/04/15 12:19:28 rillig Exp $");
/*
* All target nodes that appeared on the left-hand side of one of the
@@ -410,6 +410,7 @@ Targ_PrintType(GNodeType type)
{ OP_IGNORE, false, "IGNORE" },
{ OP_EXEC, false, "EXEC" },
{ OP_USE, false, "USE" },
+ { OP_USEBEFORE, false, "USEBEFORE" },
{ OP_OPTIONAL, false, "OPTIONAL" },
};
size_t i;