]> err.no Git - linux-2.6/blobdiff - scripts/genksyms/parse.y
remove the OSS trident driver
[linux-2.6] / scripts / genksyms / parse.y
index 099043713db499412e8e7b4ef8309115be06df3e..408cdf82b27187694c11976f2bc01137bb3d28cc 100644 (file)
@@ -61,6 +61,7 @@ remove_list(struct string_list **pb, struct string_list **pe)
 %token DOUBLE_KEYW
 %token ENUM_KEYW
 %token EXTERN_KEYW
+%token EXTENSION_KEYW
 %token FLOAT_KEYW
 %token INLINE_KEYW
 %token INT_KEYW
@@ -110,7 +111,9 @@ declaration:
        ;
 
 declaration1:
-       TYPEDEF_KEYW { is_typedef = 1; } simple_declaration
+       EXTENSION_KEYW TYPEDEF_KEYW { is_typedef = 1; } simple_declaration
+               { $$ = $4; }
+       | TYPEDEF_KEYW { is_typedef = 1; } simple_declaration
                { $$ = $3; }
        | simple_declaration
        | function_definition
@@ -197,6 +200,7 @@ storage_class_specifier:
 type_specifier:
        simple_type_specifier
        | cvar_qualifier
+       | TYPEOF_KEYW '(' decl_specifier_seq '*' ')'
        | TYPEOF_KEYW '(' decl_specifier_seq ')'
 
        /* References to s/u/e's defined elsewhere.  Rearrange things