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: update comments in operator table



details:   https://anonhg.NetBSD.org/src/rev/dc5ce10ad27c
branches:  trunk
changeset: 366798:dc5ce10ad27c
user:      rillig <rillig%NetBSD.org@localhost>
date:      Wed Jun 15 18:44:41 2022 +0000

description:
lint: update comments in operator table

No binary change.

diffstat:

 usr.bin/xlint/lint1/ops.def |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (78 lines):

diff -r e74fbcd89463 -r dc5ce10ad27c usr.bin/xlint/lint1/ops.def
--- a/usr.bin/xlint/lint1/ops.def       Wed Jun 15 18:29:21 2022 +0000
+++ b/usr.bin/xlint/lint1/ops.def       Wed Jun 15 18:44:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ops.def,v 1.28 2022/04/16 22:21:10 rillig Exp $ */
+/*     $NetBSD: ops.def,v 1.29 2022/06/15 18:44:41 rillig Exp $ */
 
 begin_ops()
 
@@ -21,12 +21,12 @@
  *     requires arithmetic                 x   |       |       |
  *     requires integer or complex       x     |       |       |
  *     requires integer        - - - - x       |       |       |
- *     requires _Bool                x |       |       |       |
+ *     compares with zero            x |       |       |       |
  *     takes _Bool                 x   |       |       |       |
  *     logical                   x     |       |       |       |
  *     binary                  x       |       |       |       |
  */
-/*     name    repr            b l b B i c a s f v - b s l r p c e e = */
+/*     name    repr            b l b z i c a s f v - b s l r p c e e = */
 op(    NOOP,   "no-op",         , , , , , , , , , , , , , , , , , , , )
 op(    ARROW,  "->",           1, ,1, , , , , , ,1, , , , , , , , , , )
 op(    POINT,  ".",            1, ,1, , , , , , , , , , , , , , , , , )
@@ -44,7 +44,7 @@
 op(    ADDR,   "&",             , ,1, , , , , , , , , , , , , , , , , )
 /* the operator 'arr[ind]' is translated to '*(arr + ind)' during parsing. */
 
-/*     name    repr            b l b B i c a s f v - b s l r p c e e = */
+/*     name    repr            b l b z i c a s f v - b s l r p c e e = */
 op(    MULT,   "*",            1, , , , , ,1, ,1,1, ,1, , ,1, , , ,1,1)
 op(    DIV,    "/",            1, , , , , ,1, ,1,1, ,1, ,1,1, , , ,1,1)
 op(    MOD,    "%",            1, , , ,1, , , ,1,1, ,1, ,1,1, , , ,1,1)
@@ -53,7 +53,7 @@
 op(    SHL,    "<<",           1, , , ,1, , , ,1,1, , , , , ,1, , ,1,1)
 op(    SHR,    ">>",           1, , , ,1, , , ,1,1, , , ,1, ,1, , ,1,1)
 
-/*     name    repr            b l b B i c a s f v - b s l r p c e e = */
+/*     name    repr            b l b z i c a s f v - b s l r p c e e = */
 op(    LT,     "<",            1,1, , , , , ,1,1,1, ,1, ,1,1, ,1,1, ,1)
 op(    LE,     "<=",           1,1, , , , , ,1,1,1, ,1, ,1,1, ,1,1, ,1)
 op(    GT,     ">",            1,1, , , , , ,1,1,1, ,1, ,1,1, ,1,1, ,1)
@@ -61,7 +61,7 @@
 op(    EQ,     "==",           1,1,1, , , , ,1,1,1, ,1, , , , ,1,1, ,1)
 op(    NE,     "!=",           1,1,1, , , , ,1,1,1, ,1, , , , ,1,1, ,1)
 
-/*     name    repr            b l b B i c a s f v - b s l r p c e e = */
+/*     name    repr            b l b z i c a s f v - b s l r p c e e = */
 op(    BITAND, "&",            1, ,1, ,1, , , ,1,1, ,1, , , ,1, , ,1, )
 op(    BITXOR, "^",            1, ,1, ,1, , , ,1,1, ,1, , , ,1, , ,1, )
 op(    BITOR,  "|",            1, ,1, ,1, , , ,1,1, ,1, , , ,1, , ,1, )
@@ -70,7 +70,7 @@
 op(    QUEST,  "?",            1, , ,1, , , , ,1, , , , , , , , , , , )
 op(    COLON,  ":",            1, ,1, , , , , , ,1, ,1, , , , , ,1, , )
 
-/*     name    repr            b l b B i c a s f v - b s l r p c e e = */
+/*     name    repr            b l b z i c a s f v - b s l r p c e e = */
 op(    ASSIGN, "=",            1, ,1, , , , , , , , , ,1, , , , ,1, , )
 op(    MULASS, "*=",           1, , , , , ,1, , , , , ,1, , , , , ,1, )
 op(    DIVASS, "/=",           1, , , , , ,1, , , , , ,1, ,1, , , ,1, )
@@ -83,7 +83,7 @@
 op(    XORASS, "^=",           1, ,1, ,1, , , , , , , ,1, , , , , ,1, )
 op(    ORASS,  "|=",           1, ,1, ,1, , , , , , , ,1, , , , , ,1, )
 
-/*     name    repr            b l b B i c a s f v - b s l r p c e e = */
+/*     name    repr            b l b z i c a s f v - b s l r p c e e = */
 op(    NAME,   "name",          , , , , , , , , , , , , , , , , , , , )
 op(    CON,    "constant",      , , , , , , , , , , , , , , , , , , , )
 op(    STRING, "string",        , , , , , , , , , , , , , , , , , , , )
@@ -105,7 +105,7 @@
 op(    IMAG,   "imag",          , , , , , , , , , , , , , , , , , , , )
 
 /* INIT, CASE and FARG are pseudo operators that don't appear in the tree. */
-/*     name    repr            b l b B i c a s f v - b s l r p c e e = */
+/*     name    repr            b l b z i c a s f v - b s l r p c e e = */
 op(    INIT,   "init",         1, ,1, , , , , , , , , ,1, , , , ,1, , )
 op(    CASE,   "case",          , , , , , , , , , , , , , , , , , , , )
 /*



Home | Main Index | Thread Index | Old Index