Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   rillig
Date:           Sat Apr 16 20:57:10 UTC 2022

Modified Files:
        src/tests/usr.bin/xlint/lint1: msg_161.c msg_161.exp
        src/usr.bin/xlint/lint1: lint1.h tree.c

Log Message:
lint: investigate why lint only warns about some constant conditions

Noticed in lex.c, in the macro kwdef, where lint complains about the
condition containing '||' but not about the conditions containing only
'>' or '=='.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/usr.bin/xlint/lint1/msg_161.c
cvs rdiff -u -r1.6 -r1.7 src/tests/usr.bin/xlint/lint1/msg_161.exp
cvs rdiff -u -r1.152 -r1.153 src/usr.bin/xlint/lint1/lint1.h
cvs rdiff -u -r1.430 -r1.431 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