Module Name:    src
Committed By:   rillig
Date:           Thu Mar 25 22:15:38 UTC 2021

Modified Files:
        src/tests/usr.bin/xlint/lint1: msg_168.c msg_168.exp
        src/usr.bin/xlint/lint1: init.c

Log Message:
lint: improve initialization of arrays with designators

Initialization is still buggy but better than before.  The remaining bug
is that only the first designator determines the array size, and after
that, the array is no longer considered of unknown size.  This
contradicts C99.  More improvements to come.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_168.c \
    src/tests/usr.bin/xlint/lint1/msg_168.exp
cvs rdiff -u -r1.131 -r1.132 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.

Reply via email to