Module Name: src
Committed By: rillig
Date: Fri Dec 31 01:34:45 UTC 2021
Modified Files:
src/usr.bin/make: parse.c
Log Message:
make: sync API documentation of parse.c with latest changes
To generate a diff of this commit:
cvs rdiff -u -r1.608 -r1.609 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.608 src/usr.bin/make/parse.c:1.609
--- src/usr.bin/make/parse.c:1.608 Fri Dec 31 01:08:59 2021
+++ src/usr.bin/make/parse.c Fri Dec 31 01:34:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.608 2021/12/31 01:08:59 rillig Exp $ */
+/* $NetBSD: parse.c,v 1.609 2021/12/31 01:34:45 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -86,15 +86,16 @@
* Parse_File Parse a top-level makefile. Included files are
* handled by IncludeFile instead.
*
- * Parse_IsVar Return true if the given line is a variable
- * assignment. Used by MainParseArgs to determine if
- * an argument is a target or a variable assignment.
- * Used internally for pretty much the same thing.
+ * Parse_VarAssign
+ * Try to parse the given line as a variable assignment.
+ * Used by MainParseArgs to determine if an argument is
+ * a target or a variable assignment. Used internally
+ * for pretty much the same thing.
*
* Parse_Error Report a parse error, a warning or an informational
* message.
*
- * Parse_MainName Returns a list of the main target to create.
+ * Parse_MainName Returns a list of the single main target to create.
*/
#include <sys/types.h>
@@ -109,7 +110,7 @@
#include "pathnames.h"
/* "@(#)parse.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: parse.c,v 1.608 2021/12/31 01:08:59 rillig Exp $");
+MAKE_RCSID("$NetBSD: parse.c,v 1.609 2021/12/31 01:34:45 rillig Exp $");
/* types and constants */