Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.24 /scripts/genksyms/parse.y

Filename:/scripts/genksyms/parse.y
Lines Added:4
Lines Deleted:1
Also changed in: (Previous) 2.6.24-rc8  2.6.24-rc7  2.6.24-rc6  2.6.24-rc5  2.6.24-rc4  2.6.24-rc3 
(Following) 2.6.27-rc1-git4  2.6.27-rc1-git5  2.6.27-rc1-git6  2.6.27-rc2  2.6.27-rc3  2.6.27-rc4 

Location
[  2.6.24
  [  scripts
    [  genksyms
       o  parse.y

Patch

diff --git a/scripts/genksyms/parse.y b/scripts/genksyms/parse.y
index ca04c94..408cdf8 100644
--- a/scripts/genksyms/parse.y
+++ b/scripts/genksyms/parse.y
@@ -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


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.