Module Name: src Committed By: rillig Date: Thu Oct 31 10:32:09 UTC 2024
Modified Files: src/tests/usr.bin/xlint/lint1: msg_348.c src/usr.bin/xlint/lint1: err.c tree.c Log Message: lint: allow enum constant named 'N_*' to exceed the array index Seen in libxcb. While here, add the name of the enum constant to the message, to quickly decide whether the identifier is outside the range of expected enum values, thus marking the number of enum constants. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/tests/usr.bin/xlint/lint1/msg_348.c cvs rdiff -u -r1.251 -r1.252 src/usr.bin/xlint/lint1/err.c cvs rdiff -u -r1.656 -r1.657 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.