]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - scripts/genksyms/parse.y
genksyms: Fix segfault with invalid declarations
[mirror_ubuntu-artful-kernel.git] / scripts / genksyms / parse.y
index 4fba255e54ae49ed0fcf196b4e72695624eab58b..00a6d7e5497126147dc0d9a564c4a6525fff6079 100644 (file)
@@ -322,8 +322,6 @@ direct_declarator:
                { $$ = $2; }
        | '(' declarator ')'
                { $$ = $3; }
-       | '(' error ')'
-               { $$ = $3; }
        ;
 
 /* Nested declarators differ from regular declarators in that they do