Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/xlint/lint1



Module Name:    src
Committed By:   rillig
Date:           Fri Apr 29 19:37:00 UTC 2022

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

Log Message:
lint: reorder grammar rule begin_type_typespec

This makes the rule structurally more similar to the other rules.  The
goal is that all rules whose name starts with 'begin_type_' actually
start with the rule 'begin_type'.  Currently, some rules parse their
type attributes before 'begin_type', which feels wrong, as type
attributes should be part of the type.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.405 -r1.406 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.




Home | Main Index | Thread Index | Old Index