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: rename operator 'const' to 'constant'
details: https://anonhg.NetBSD.org/src/rev/9067330d7eca
branches: trunk
changeset: 953728:9067330d7eca
user: rillig <rillig%NetBSD.org@localhost>
date: Thu Mar 18 21:56:34 2021 +0000
description:
lint: rename operator 'const' to 'constant'
The previous name could be too easily confused with the type qualifier
'const'. The operator name is mainly used in the debug log, only
occasionally in the output. Since 'constant' is not a "real" operator,
it probably doesn't occur in messages at all.
diffstat:
usr.bin/xlint/lint1/ops.def | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 6ec477a44edd -r 9067330d7eca usr.bin/xlint/lint1/ops.def
--- a/usr.bin/xlint/lint1/ops.def Thu Mar 18 21:26:56 2021 +0000
+++ b/usr.bin/xlint/lint1/ops.def Thu Mar 18 21:56:34 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ops.def,v 1.16 2021/02/20 18:02:58 rillig Exp $ */
+/* $NetBSD: ops.def,v 1.17 2021/03/18 21:56:34 rillig Exp $ */
begin_ops()
@@ -63,7 +63,7 @@
/* name repr b l b o i c a s f v t b s l r p c e e = act */
op( NAME, "name", , , , , , , , , , , , , , , , , , , , ,1)
-op( CON, "const", , , , , , , , , , , , , , , , , , , , ,1)
+op( CON, "constant", , , , , , , , , , , , , , , , , , , , ,1)
op( STRING, "string", , , , , , , , , , , , , , , , , , , , ,1)
op( FSEL, "fsel", , , , , , , , , , , , , , , , , , , , ,1)
op( CALL, "call", 1, , , , , , , , , , , ,1, , , , , , , ,1)
Home |
Main Index |
Thread Index |
Old Index