Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   rillig
Date:           Sun Jul 11 20:37:21 UTC 2021

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

Log Message:
lint: make _Generic a primary-expression

C11 says so, and unless the _Generic expression was wrapped in
parentheses, it was not possible before to use it as a function call
expression.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
    src/tests/usr.bin/xlint/lint1/c11_generic_expression.c
cvs rdiff -u -r1.6 -r1.7 \
    src/tests/usr.bin/xlint/lint1/c11_generic_expression.exp
cvs rdiff -u -r1.316 -r1.317 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