Christopher Li wrote:
> Actually, this version is better because it handle semicolon
> as the first member as well.
> 
> Fix double semicolon in struct declare
> 
> Pavel discover this test case:
> #include <string.h>
> void test(void)
> {
>        struct { int foo;; } val;
>        memset(&val, 0, sizeof(val));
> }
> 
> Sparse ends up create a node with empty ctype in the member list.
> Skip that seems fix it.
> 
> Signed-Off-By: Christopher Li<[EMAIL PROTECTED]>

Applied, along with the test case.

- Josh Triplett


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to