Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/xlint/lint1

Module Name:    src
Committed By:   rillig
Date:           Sat Apr 16 21:14:33 UTC 2022

Modified Files:
        src/usr.bin/xlint/lint1: op.h ops.def tree.c

Log Message:
lint: rename members of tnode_t to more closely match reality

The flags do not describe the left operand of the node but both, as for
most operators, either none or both operands are in test context or in
value context.

The one exception is the operator '?' from the '?:' conditional, for
which the left operand is in test context and the right operand is in
value context.

No binary change.

To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/xlint/lint1/op.h
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/xlint/lint1/ops.def
cvs rdiff -u -r1.431 -r1.432 src/usr.bin/xlint/lint1/tree.c

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

Home | Main Index | Thread Index | Old Index