Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/xlint/lint1 lint: remove double negation in comment



details:   https://anonhg.NetBSD.org/src/rev/6f50a30c8f5d
branches:  trunk
changeset: 1022180:6f50a30c8f5d
user:      rillig <rillig%NetBSD.org@localhost>
date:      Thu Jul 08 03:10:39 2021 +0000

description:
lint: remove double negation in comment

No functional change.

diffstat:

 usr.bin/xlint/lint1/lex.c |  17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diffs (45 lines):

diff -r cda8a0e05c34 -r 6f50a30c8f5d usr.bin/xlint/lint1/lex.c
--- a/usr.bin/xlint/lint1/lex.c Thu Jul 08 02:59:22 2021 +0000
+++ b/usr.bin/xlint/lint1/lex.c Thu Jul 08 03:10:39 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lex.c,v 1.52 2021/07/08 02:59:22 rillig Exp $ */
+/* $NetBSD: lex.c,v 1.53 2021/07/08 03:10:39 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: lex.c,v 1.52 2021/07/08 02:59:22 rillig Exp $");
+__RCSID("$NetBSD: lex.c,v 1.53 2021/07/08 03:10:39 rillig Exp $");
 #endif
 
 #include <ctype.h>
@@ -1381,11 +1381,10 @@
  * putting undeclared symbols into the symbol table if a syntax error
  * occurs.
  *
- * getsym() is called as soon as it is probably ok to put the symbol to
- * the symbol table. This does not mean that it is not possible that
- * symbols are put to the symbol table which are not completely
- * declared due to syntax errors. To avoid too many problems in this
- * case, symbols get type int in getsym().
+ * getsym() is called as soon as it is probably ok to put the symbol to the
+ * symbol table. It is still possible that symbols are put in the symbol
+ * table that are not completely declared due to syntax errors. To avoid too
+ * many problems in this case, symbols get type int in getsym().
  *
  * XXX calls to getsym() should be delayed until decl1*() is called.
  */
@@ -1456,8 +1455,8 @@
 }
 
 /*
- * Construct a temporary symbol. The symbol starts with a digit, so that
- * it is illegal.
+ * Construct a temporary symbol. The symbol name starts with a digit, making
+ * the name illegal.
  */
 sym_t *
 mktempsym(type_t *t)



Home | Main Index | Thread Index | Old Index