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: make documentation for...



details:   https://anonhg.NetBSD.org/src/rev/c47cb4b8c099
branches:  trunk
changeset: 1023533:c47cb4b8c099
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Sep 12 16:07:16 2021 +0000

description:
tests/lint: make documentation for lint2/msg_000 less ambiguous

diffstat:

 tests/usr.bin/xlint/lint2/msg_000.ln |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 312788c45942 -r c47cb4b8c099 tests/usr.bin/xlint/lint2/msg_000.ln
--- a/tests/usr.bin/xlint/lint2/msg_000.ln      Sun Sep 12 15:22:05 2021 +0000
+++ b/tests/usr.bin/xlint/lint2/msg_000.ln      Sun Sep 12 16:07:16 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: msg_000.ln,v 1.2 2021/08/24 23:38:51 rillig Exp $
+# $NetBSD: msg_000.ln,v 1.3 2021/09/12 16:07:16 rillig Exp $
 #
 # Test data for message 0 of lint2:
 #      %s used( %s ), but not defined
@@ -14,14 +14,14 @@
 # but not used, generated by this code:
 #      1:      # 2 "msg_000.c"
 #      2:      defined_not_used() {
-#      3:              used_not_defined(1, 0.0);
+#      3:              used_not_defined(12345, 0.0);
 #      4:      }
 #
 # The function call in line 3 generates this entry:
 #      '3'     logical line 3 in the main .c source
 #      'c'     function call
 #      '0.3'   file 0, logical line 3 in the currently included file
-#      'p1'    the first argument is a positive constant
+#      'p1'    argument 1 is a positive constant
 #      'i'     the return value of the function call is ignored
 #      '16...' the name of the called function
 #      'f2'    it's a function with 2 arguments



Home | Main Index | Thread Index | Old Index