Module Name: othersrc Committed By: dholland Date: Sat Mar 23 18:42:40 UTC 2013
Modified Files: othersrc/usr.bin/dholland-make2: suff.c Log Message: Update some more comments. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 othersrc/usr.bin/dholland-make2/suff.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: othersrc/usr.bin/dholland-make2/suff.c diff -u othersrc/usr.bin/dholland-make2/suff.c:1.20 othersrc/usr.bin/dholland-make2/suff.c:1.21 --- othersrc/usr.bin/dholland-make2/suff.c:1.20 Sat Mar 23 18:36:16 2013 +++ othersrc/usr.bin/dholland-make2/suff.c Sat Mar 23 18:42:40 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: suff.c,v 1.20 2013/03/23 18:36:16 dholland Exp $ */ +/* $NetBSD: suff.c,v 1.21 2013/03/23 18:42:40 dholland Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -131,7 +131,7 @@ #include "hash.h" #include "dir.h" -MAKE_RCSID("$NetBSD: suff.c,v 1.20 2013/03/23 18:36:16 dholland Exp $"); +MAKE_RCSID("$NetBSD: suff.c,v 1.21 2013/03/23 18:42:40 dholland Exp $"); #define CLEANUP @@ -179,10 +179,8 @@ typedef struct Src { } Src; /* - * A structure for passing more than one argument to the Lst-library-invoked - * function... + * This is used by SuffScanTargets to keep track of what it's doing. */ - typedef struct { GNode **gn; Suff *s; @@ -630,8 +628,7 @@ Suff_AddTransform(const char *line) * Suff_EndTransform -- * Handle the finish of a transformation definition, removing the * transformation from the graph if it has neither commands nor - * sources. This is a callback procedure for the Parse module via - * Lst_ForEach + * sources. This is a callback procedure for the Parse module. * * Input: * gn Node for transformation @@ -696,7 +693,7 @@ Suff_EndTransform(GNode *gn) /*- *----------------------------------------------------------------------- * SuffRebuildGraph -- - * Called from Suff_AddSuffix via Lst_ForEach to search through the + * Called from Suff_AddSuffix to search through the * list of existing transformation rules and rebuild the transformation * graph when it has been destroyed by Suff_ClearSuffixes. If the * given rule is a transformation involving this suffix and another, @@ -769,7 +766,7 @@ SuffRebuildGraph(GNode *transform, Suff /*- *----------------------------------------------------------------------- * SuffScanTargets -- - * Called from Suff_AddSuffix via Lst_ForEach to search through the + * Called from Suff_AddSuffix to search through the * list of existing targets and find if any of the existing targets * can be turned into a transformation rule. *