Module Name: src Committed By: rillig Date: Fri Apr 29 06:40:52 UTC 2022
Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: do not allow type attributes after label After a label, the type attributes _Alignas, __packed and _Noreturn do not make sense, so don't allow them. The only kind of attributes that makes sense there syntactically is GCC __attribute__. Allow multiple such attributes, like everywhere in the GCC grammar. To generate a diff of this commit: cvs rdiff -u -r1.403 -r1.404 src/usr.bin/xlint/lint1/cgram.y Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.