Module Name:    src
Committed By:   rillig
Date:           Sun Jul 25 15:58:24 UTC 2021

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

Log Message:
lint: do not parse 'typeof(0)(void)' as function call

Previously, lint tried to parse 'typeof(0)(void)' as 'typeof'
'(0)(void)', which tries to call 0 as a function.


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