--- - branch: MAIN date: Sat Mar 20 15:28:07 UTC 2021 files: - new: '1.5' old: '1.4' path: src/tests/usr.bin/xlint/lint1/msg_327.c pathrev: src/tests/usr.bin/xlint/lint1/msg_327.c@1.5 type: modified - new: '1.4' old: '1.3' path: src/tests/usr.bin/xlint/lint1/msg_327.exp pathrev: src/tests/usr.bin/xlint/lint1/msg_327.exp@1.4 type: modified - new: '1.185' old: '1.184' path: src/usr.bin/xlint/lint1/cgram.y pathrev: src/usr.bin/xlint/lint1/cgram.y@1.185 type: modified id: 20210320T152807Z.46459e80e7b3683993ce42a305334f8a95d98d2a log: | lint: fix check for declaration after statement in pre-C99 mode The new code may not be the most beautiful, but it fixes all bugs that occurred while testing message 327. The grammar rules are taken from C99 6.8.2, so it's no surprise they work well. module: src subject: 'CVS commit: src' unixtime: '1616254087' user: rillig