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 10:55:28 UTC 2021

Modified Files:
        src/usr.bin/xlint/lint1: cgram.y externs1.h func.c

Log Message:
lint: split label handling into separate functions

The only thing these cases have in common is the name "label" and the
"reached = 1" assignment.  That's not reason enough to combine
completely unrelated functions.


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/usr.bin/xlint/lint1/cgram.y
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/xlint/lint1/externs1.h
cvs rdiff -u -r1.41 -r1.42 src/usr.bin/xlint/lint1/func.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