Module Name: src Committed By: rillig Date: Sun Sep 13 13:25:07 UTC 2020
Modified Files: src/usr.bin/make: parse.c Log Message: make(1): clean up comments for ParseErrorInternal and ParseMessage To generate a diff of this commit: cvs rdiff -u -r1.300 -r1.301 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.300 src/usr.bin/make/parse.c:1.301 --- src/usr.bin/make/parse.c:1.300 Sun Sep 13 13:22:29 2020 +++ src/usr.bin/make/parse.c Sun Sep 13 13:25:07 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: parse.c,v 1.300 2020/09/13 13:22:29 rillig Exp $ */ +/* $NetBSD: parse.c,v 1.301 2020/09/13 13:25:07 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -69,14 +69,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: parse.c,v 1.300 2020/09/13 13:22:29 rillig Exp $"; +static char rcsid[] = "$NetBSD: parse.c,v 1.301 2020/09/13 13:25:07 rillig Exp $"; #else #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94"; #else -__RCSID("$NetBSD: parse.c,v 1.300 2020/09/13 13:22:29 rillig Exp $"); +__RCSID("$NetBSD: parse.c,v 1.301 2020/09/13 13:25:07 rillig Exp $"); #endif #endif /* not lint */ #endif @@ -674,16 +674,6 @@ ParseVErrorInternal(FILE *f, const char } } -/*- - * ParseErrorInternal -- - * Error function - * - * Results: - * None - * - * Side Effects: - * None - */ static void ParseErrorInternal(const char *cfname, size_t clineno, int type, const char *fmt, ...) @@ -734,13 +724,11 @@ Parse_Error(int type, const char *fmt, . } -/* - * ParseMessage - * Parse a .info .warning or .error directive +/* Parse a .info .warning or .error directive. * - * The input is the line minus the ".". We substitute - * variables, print the message and exit(1) (for .error) or just print - * a warning if the directive is malformed. + * The input is the line minus the ".". We substitute variables, print the + * message and exit(1) (for .error) or just print a warning if the directive + * is malformed. */ static Boolean ParseMessage(char *line)