Module Name:    src
Committed By:   rillig
Date:           Thu Mar 18 21:56:35 UTC 2021

Modified Files:
        src/usr.bin/xlint/lint1: ops.def

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/xlint/lint1/ops.def

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

Modified files:

Index: src/usr.bin/xlint/lint1/ops.def
diff -u src/usr.bin/xlint/lint1/ops.def:1.16 src/usr.bin/xlint/lint1/ops.def:1.17
--- src/usr.bin/xlint/lint1/ops.def:1.16	Sat Feb 20 18:02:58 2021
+++ src/usr.bin/xlint/lint1/ops.def	Thu Mar 18 21:56:34 2021
@@ -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 @@ op(	ORASS,	"|=",		1, ,1, ,1, , , , , , ,
 
 /*	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)

Reply via email to