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: un-abbreviate parameter names of m...



details:   https://anonhg.NetBSD.org/src/rev/28ca5c9b0d50
branches:  trunk
changeset: 985339:28ca5c9b0d50
user:      rillig <rillig%NetBSD.org@localhost>
date:      Thu Aug 19 18:39:34 2021 +0000

description:
lint: un-abbreviate parameter names of macro

diffstat:

 usr.bin/xlint/lint1/op.h |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (27 lines):

diff -r 54a5e9b92ec9 -r 28ca5c9b0d50 usr.bin/xlint/lint1/op.h
--- a/usr.bin/xlint/lint1/op.h  Thu Aug 19 17:50:18 2021 +0000
+++ b/usr.bin/xlint/lint1/op.h  Thu Aug 19 18:39:34 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: op.h,v 1.16 2021/03/20 20:56:58 rillig Exp $   */
+/*     $NetBSD: op.h,v 1.17 2021/08/19 18:39:34 rillig Exp $   */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -64,11 +64,12 @@
 
 #define begin_ops() typedef enum {
 #define op(name, repr, \
-               bi, lo, tb, rb, \
-               in, ic, ar, sc, \
-               fo, va, ts, ba, \
-               se, lu, ru, pc, \
-               cm, ve, de, ew) \
+               is_binary, is_logical, takes_bool, requires_bool, \
+               is_integer, is_complex, is_arithmetic, is_scalar, \
+               can_fold, is_value, is_test, balances_operands, \
+               side_effects, left_unsigned, right_unsigned, \
+               precedence_confusion, is_comparison, \
+               valid_on_enum, bad_on_enum, warn_if_eq) \
        name,
 #define end_ops() } op_t;
 #include "ops.def"



Home | Main Index | Thread Index | Old Index