Source-Changes-HG archive

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

[src/trunk]: src/tests/usr.bin/xlint/lint2 tests/lint: fix comments



details:   https://anonhg.NetBSD.org/src/rev/daa2a907b805
branches:  trunk
changeset: 359653:daa2a907b805
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Jan 15 17:33:42 2022 +0000

description:
tests/lint: fix comments

diffstat:

 tests/usr.bin/xlint/lint2/emit.ln          |  6 +++---
 tests/usr.bin/xlint/lint2/output_sorted.ln |  5 +++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r 75464732c462 -r daa2a907b805 tests/usr.bin/xlint/lint2/emit.ln
--- a/tests/usr.bin/xlint/lint2/emit.ln Sat Jan 15 16:05:19 2022 +0000
+++ b/tests/usr.bin/xlint/lint2/emit.ln Sat Jan 15 17:33:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: emit.ln,v 1.4 2021/09/04 18:34:17 rillig Exp $
+# $NetBSD: emit.ln,v 1.5 2022/01/15 17:33:42 rillig Exp $
 #
 # Test emitting a lint library file.
 
@@ -15,8 +15,8 @@
 106 d 0.106 t 11defined_int I
 
 # Referring to an anonymous tagged type forces the source file to be listed as
-# part of the library.  If it weren't listed, the diagnostics from lint2 were
-# not able to refer to the location where this type has been defined.
+# part of the library.  If it weren't listed, the diagnostics from lint2 would
+# not be able to refer to the location where this type has been defined.
 97 d 0.97 e 21extern_anonymous_enum eT395.0.0
 
 # Function declarations, as opposed to function definitions, are not part of a
diff -r 75464732c462 -r daa2a907b805 tests/usr.bin/xlint/lint2/output_sorted.ln
--- a/tests/usr.bin/xlint/lint2/output_sorted.ln        Sat Jan 15 16:05:19 2022 +0000
+++ b/tests/usr.bin/xlint/lint2/output_sorted.ln        Sat Jan 15 17:33:42 2022 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: output_sorted.ln,v 1.1 2021/08/28 19:45:18 rillig Exp $
+# $NetBSD: output_sorted.ln,v 1.2 2022/01/15 17:33:42 rillig Exp $
 #
 # Test whether the output is sorted by symbol name.
-# As of 2021-08-28, the output is sorted by hashcode, which looks random.
+# Before main2.c 1.21 from 2021-08-28, the output was sorted by hashcode,
+# which looked random.  Since then, the output is sorted by symbol name.
 
 0 s output_sorted.c
 S output_sorted.c



Home | Main Index | Thread Index | Old Index