Subject: PR/33984 CVS commit: src/usr.bin/xlint/lint1
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Christos Zoulas <christos@netbsd.org>
List: netbsd-bugs
Date: 07/12/2006 20:05:03
The following reply was made to PR bin/33984; it has been noted by GNATS.
From: Christos Zoulas <christos@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/33984 CVS commit: src/usr.bin/xlint/lint1
Date: Wed, 12 Jul 2006 20:03:48 +0000 (UTC)
Module Name: src
Committed By: christos
Date: Wed Jul 12 20:03:48 UTC 2006
Modified Files:
src/usr.bin/xlint/lint1: cgram.y
Log Message:
PR/33984: YAMAMOTO Takashi: lint complains about typedef
The grammar for c99 initializers only looked for name tokens, so if there
was a typedef'ed name it failed. Fixed by looking at all identifier tokens.
To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 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.