Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint lint: fix typo in comments
details: https://anonhg.NetBSD.org/src/rev/6a4ddfa23f46
branches: trunk
changeset: 979483:6a4ddfa23f46
user: rillig <rillig%NetBSD.org@localhost>
date: Tue Dec 29 21:32:46 2020 +0000
description:
lint: fix typo in comments
diffstat:
usr.bin/xlint/lint1/decl.c | 16 ++++++++--------
usr.bin/xlint/lint1/emit1.c | 6 +++---
usr.bin/xlint/lint1/lint1.h | 6 +++---
usr.bin/xlint/lint1/tree.c | 6 +++---
usr.bin/xlint/lint2/lint2.h | 4 ++--
5 files changed, 19 insertions(+), 19 deletions(-)
diffs (143 lines):
diff -r 9e0a7ec228ac -r 6a4ddfa23f46 usr.bin/xlint/lint1/decl.c
--- a/usr.bin/xlint/lint1/decl.c Tue Dec 29 20:56:28 2020 +0000
+++ b/usr.bin/xlint/lint1/decl.c Tue Dec 29 21:32:46 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: decl.c,v 1.78 2020/12/29 17:29:31 rillig Exp $ */
+/* $NetBSD: decl.c,v 1.79 2020/12/29 21:32:46 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: decl.c,v 1.78 2020/12/29 17:29:31 rillig Exp $");
+__RCSID("$NetBSD: decl.c,v 1.79 2020/12/29 21:32:46 rillig Exp $");
#endif
#include <sys/param.h>
@@ -1259,10 +1259,10 @@
}
/*
- * Collect informations about a sequence of asterisks and qualifiers
- * in a list of type pqinf_t.
- * Qualifiers refer always to the left asterisk. The rightmost asterisk
- * will be at the top of the list.
+ * Collect information about a sequence of asterisks and qualifiers in a
+ * list of type pqinf_t.
+ * Qualifiers always refer to the left asterisk.
+ * The rightmost asterisk will be at the top of the list.
*/
pqinf_t *
merge_pointers_and_qualifiers(pqinf_t *p1, pqinf_t *p2)
@@ -1969,8 +1969,8 @@
}
/*
- * Copy informations about usage of the name into
- * the new symbol.
+ * Copy usage information of the name into the new
+ * symbol.
*/
copy_usage_info(dsym, rdsym);
diff -r 9e0a7ec228ac -r 6a4ddfa23f46 usr.bin/xlint/lint1/emit1.c
--- a/usr.bin/xlint/lint1/emit1.c Tue Dec 29 20:56:28 2020 +0000
+++ b/usr.bin/xlint/lint1/emit1.c Tue Dec 29 21:32:46 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: emit1.c,v 1.24 2020/12/29 11:35:11 rillig Exp $ */
+/* $NetBSD: emit1.c,v 1.25 2020/12/29 21:32:46 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: emit1.c,v 1.24 2020/12/29 11:35:11 rillig Exp $");
+__RCSID("$NetBSD: emit1.c,v 1.25 2020/12/29 21:32:46 rillig Exp $");
#endif
#include <ctype.h>
@@ -435,7 +435,7 @@
args = tn->tn_right;
for (arg = args; arg != NULL; arg = arg->tn_right)
narg++;
- /* informations about arguments */
+ /* information about arguments */
for (n = 1; n <= narg; n++) {
/* the last argument is the top one in the tree */
for (i = narg, arg = args; i > n; i--, arg = arg->tn_right)
diff -r 9e0a7ec228ac -r 6a4ddfa23f46 usr.bin/xlint/lint1/lint1.h
--- a/usr.bin/xlint/lint1/lint1.h Tue Dec 29 20:56:28 2020 +0000
+++ b/usr.bin/xlint/lint1/lint1.h Tue Dec 29 21:32:46 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lint1.h,v 1.34 2020/12/29 12:18:42 rillig Exp $ */
+/* $NetBSD: lint1.h,v 1.35 2020/12/29 21:32:46 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -266,7 +266,7 @@
#define s_args u._s_args
/*
- * Used to keep some informations about symbols before they are entered
+ * Used to keep some information about symbols before they are entered
* into the symbol table.
*/
typedef struct sbuf {
@@ -388,7 +388,7 @@
} clst_t;
/*
- * Used to keep informations about nested control statements.
+ * Used to keep information about nested control statements.
*/
typedef struct cstk {
int c_env; /* type of statement (T_IF, ...) */
diff -r 9e0a7ec228ac -r 6a4ddfa23f46 usr.bin/xlint/lint1/tree.c
--- a/usr.bin/xlint/lint1/tree.c Tue Dec 29 20:56:28 2020 +0000
+++ b/usr.bin/xlint/lint1/tree.c Tue Dec 29 21:32:46 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tree.c,v 1.98 2020/12/29 13:33:03 rillig Exp $ */
+/* $NetBSD: tree.c,v 1.99 2020/12/29 21:32:46 rillig Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: tree.c,v 1.98 2020/12/29 13:33:03 rillig Exp $");
+__RCSID("$NetBSD: tree.c,v 1.99 2020/12/29 21:32:46 rillig Exp $");
#endif
#include <float.h>
@@ -683,7 +683,7 @@
/*
* Perform most type checks. First the types are checked using
- * informations from modtab[]. After that it is done by hand for
+ * the information from modtab[]. After that it is done by hand for
* more complicated operators and type combinations.
*
* If the types are ok, typeok() returns 1, otherwise 0.
diff -r 9e0a7ec228ac -r 6a4ddfa23f46 usr.bin/xlint/lint2/lint2.h
--- a/usr.bin/xlint/lint2/lint2.h Tue Dec 29 20:56:28 2020 +0000
+++ b/usr.bin/xlint/lint2/lint2.h Tue Dec 29 21:32:46 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lint2.h,v 1.8 2017/12/26 17:02:19 christos Exp $ */
+/* $NetBSD: lint2.h,v 1.9 2020/12/29 21:32:46 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@@ -146,7 +146,7 @@
#define s_nxt s_s.s_nxt
/*
- * Used to store informations about function calls.
+ * Used to store information about function calls.
*/
typedef struct fcall {
pos_t f_pos; /* position of call */
Home |
Main Index |
Thread Index |
Old Index