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: fix spelling of message 308
details: https://anonhg.NetBSD.org/src/rev/fd8f0a773838
branches: trunk
changeset: 958395:fd8f0a773838
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Jan 03 16:59:59 2021 +0000
description:
lint: fix spelling of message 308
All other messages are lowercase as well.
diffstat:
tests/usr.bin/xlint/lint1/msg_004.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_035.exp | 2 +-
tests/usr.bin/xlint/lint1/msg_308.exp | 4 ++--
usr.bin/xlint/lint1/decl.c | 6 +++---
usr.bin/xlint/lint1/err.c | 6 +++---
5 files changed, 10 insertions(+), 10 deletions(-)
diffs (84 lines):
diff -r cea7c3b79565 -r fd8f0a773838 tests/usr.bin/xlint/lint1/msg_004.exp
--- a/tests/usr.bin/xlint/lint1/msg_004.exp Sun Jan 03 15:55:18 2021 +0000
+++ b/tests/usr.bin/xlint/lint1/msg_004.exp Sun Jan 03 16:59:59 2021 +0000
@@ -1,4 +1,4 @@
-msg_004.c(13): Invalid type for _Complex [308]
+msg_004.c(13): invalid type for _Complex [308]
msg_004.c(13): illegal type combination [4]
msg_004.c(17): illegal type combination [4]
msg_004.c(21): illegal type combination [4]
diff -r cea7c3b79565 -r fd8f0a773838 tests/usr.bin/xlint/lint1/msg_035.exp
--- a/tests/usr.bin/xlint/lint1/msg_035.exp Sun Jan 03 15:55:18 2021 +0000
+++ b/tests/usr.bin/xlint/lint1/msg_035.exp Sun Jan 03 16:59:59 2021 +0000
@@ -12,7 +12,7 @@
msg_035.c(54): warning: illegal bit-field type [35]
msg_035.c(55): warning: illegal bit-field type [35]
msg_035.c(56): warning: illegal bit-field type [35]
-msg_035.c(57): Invalid type for _Complex [308]
+msg_035.c(57): invalid type for _Complex [308]
msg_035.c(57): warning: illegal bit-field type [35]
msg_035.c(58): warning: illegal bit-field type [35]
msg_035.c(59): warning: illegal bit-field type [35]
diff -r cea7c3b79565 -r fd8f0a773838 tests/usr.bin/xlint/lint1/msg_308.exp
--- a/tests/usr.bin/xlint/lint1/msg_308.exp Sun Jan 03 15:55:18 2021 +0000
+++ b/tests/usr.bin/xlint/lint1/msg_308.exp Sun Jan 03 16:59:59 2021 +0000
@@ -1,3 +1,3 @@
-msg_308.c(9): Invalid type for _Complex [308]
-msg_308.c(10): Invalid type for _Complex [308]
+msg_308.c(9): invalid type for _Complex [308]
+msg_308.c(10): invalid type for _Complex [308]
msg_308.c(10): illegal type combination [4]
diff -r cea7c3b79565 -r fd8f0a773838 usr.bin/xlint/lint1/decl.c
--- a/usr.bin/xlint/lint1/decl.c Sun Jan 03 15:55:18 2021 +0000
+++ b/usr.bin/xlint/lint1/decl.c Sun Jan 03 16:59:59 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: decl.c,v 1.103 2021/01/02 18:44:58 rillig Exp $ */
+/* $NetBSD: decl.c,v 1.104 2021/01/03 16:59:59 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.103 2021/01/02 18:44:58 rillig Exp $");
+__RCSID("$NetBSD: decl.c,v 1.104 2021/01/03 16:59:59 rillig Exp $");
#endif
#include <sys/param.h>
@@ -304,7 +304,7 @@
else if (dcs->d_cmod == DOUBLE)
t = DCOMPLEX;
else {
- /* Invalid type for _Complex */
+ /* invalid type for _Complex */
error(308);
t = DCOMPLEX; /* just as a fallback */
}
diff -r cea7c3b79565 -r fd8f0a773838 usr.bin/xlint/lint1/err.c
--- a/usr.bin/xlint/lint1/err.c Sun Jan 03 15:55:18 2021 +0000
+++ b/usr.bin/xlint/lint1/err.c Sun Jan 03 16:59:59 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: err.c,v 1.61 2021/01/03 15:51:16 rillig Exp $ */
+/* $NetBSD: err.c,v 1.62 2021/01/03 16:59:59 rillig Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: err.c,v 1.61 2021/01/03 15:51:16 rillig Exp $");
+__RCSID("$NetBSD: err.c,v 1.62 2021/01/03 16:59:59 rillig Exp $");
#endif
#include <sys/types.h>
@@ -367,7 +367,7 @@
"ANSI C forbids conversion of %s to %s, op %s", /* 305 */
"constant truncated by conversion, op %s", /* 306 */
"static variable %s set but not used", /* 307 */
- "Invalid type for _Complex", /* 308 */
+ "invalid type for _Complex", /* 308 */
"extra bits set to 0 in conversion of '%s' to '%s', op %s", /* 309 */
"symbol renaming can't be used on function arguments", /* 310 */
"symbol renaming can't be used on automatic variables", /* 311 */
Home |
Main Index |
Thread Index |
Old Index