Module Name:    src
Committed By:   rillig
Date:           Sat Jul 10 10:56:31 UTC 2021

Modified Files:
        src/tests/usr.bin/xlint/lint1: d_c99_anon_struct.c
        src/usr.bin/xlint/lint1: cgram.y

Log Message:
lint: remove noclass_declmods from grammar

That rule was hard to understand since it contained clrtyp but not the
corresponding deftyp.  It's easier to read when a grammar rule contains
both clrtyp and deftyp in the same line.

C99 does not mention the term 'decl-modifier' anywhere, and in fact the
only thing that this grammar rule allowed was a type-qualifier-list.
The new name better reflect this.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/d_c99_anon_struct.c
cvs rdiff -u -r1.286 -r1.287 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.

Reply via email to