Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make: add .USEBEFORE to Targ_PrintType



details:   https://anonhg.NetBSD.org/src/rev/e873fcd0c4dc
branches:  trunk
changeset: 365221:e873fcd0c4dc
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Apr 15 12:19:28 2022 +0000

description:
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.

diffstat:

 usr.bin/make/targ.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r e31eccd432cc -r e873fcd0c4dc usr.bin/make/targ.c
--- a/usr.bin/make/targ.c       Fri Apr 15 09:33:20 2022 +0000
+++ b/usr.bin/make/targ.c       Fri Apr 15 12:19:28 2022 +0000
@@ -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 @@
                { OP_IGNORE,    false,  "IGNORE"        },
                { OP_EXEC,      false,  "EXEC"          },
                { OP_USE,       false,  "USE"           },
+               { OP_USEBEFORE, false,  "USEBEFORE"     },
                { OP_OPTIONAL,  false,  "OPTIONAL"      },
        };
        size_t i;



Home | Main Index | Thread Index | Old Index