Module Name:    src
Committed By:   rillig
Date:           Sun Sep 12 16:07:16 UTC 2021

Modified Files:
        src/tests/usr.bin/xlint/lint2: msg_000.ln

Log Message:
tests/lint: make documentation for lint2/msg_000 less ambiguous


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint2/msg_000.ln

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/usr.bin/xlint/lint2/msg_000.ln
diff -u src/tests/usr.bin/xlint/lint2/msg_000.ln:1.2 src/tests/usr.bin/xlint/lint2/msg_000.ln:1.3
--- src/tests/usr.bin/xlint/lint2/msg_000.ln:1.2	Tue Aug 24 23:38:51 2021
+++ src/tests/usr.bin/xlint/lint2/msg_000.ln	Sun Sep 12 16:07:16 2021
@@ -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 @@ S msg_000.c
 # 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

Reply via email to