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:           Fri Jan  1 00:00:24 UTC 2021

Modified Files:
        src/usr.bin/xlint/lint1: check-msgs.lua decl.c func.c init.c tree.c

Log Message:
lint: align comments in code with actual messages

Redundancy is bad.  Especially in this case, separating the format
strings from the actual arguments prevents the compiler from
cross-checking them.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/xlint/lint1/check-msgs.lua
cvs rdiff -u -r1.87 -r1.88 src/usr.bin/xlint/lint1/decl.c
cvs rdiff -u -r1.39 -r1.40 src/usr.bin/xlint/lint1/func.c
cvs rdiff -u -r1.48 -r1.49 src/usr.bin/xlint/lint1/init.c
cvs rdiff -u -r1.107 -r1.108 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