Module Name: src Committed By: rillig Date: Mon Dec 20 19:34:01 UTC 2021
Modified Files: src/usr.bin/xlint/lint1: cgram.y externs1.h init.c Log Message: lint: add grammar rule for the beginning of a designation This will be necessary to properly implement handling of initializers and braced initializer-lists. No functional change for now since the designation is already reset after each expression and '}'. To handle initializations properly, the designation must not be reset after each expression, it must advance to the next member instead. To generate a diff of this commit: cvs rdiff -u -r1.376 -r1.377 src/usr.bin/xlint/lint1/cgram.y cvs rdiff -u -r1.142 -r1.143 src/usr.bin/xlint/lint1/externs1.h cvs rdiff -u -r1.222 -r1.223 src/usr.bin/xlint/lint1/init.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.