about summary refs log tree commit diff stats
path: root/wrapperhelper/src/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'wrapperhelper/src/parse.c')
-rw-r--r--wrapperhelper/src/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrapperhelper/src/parse.c b/wrapperhelper/src/parse.c
index eba462bf..7d55eaf5 100644
--- a/wrapperhelper/src/parse.c
+++ b/wrapperhelper/src/parse.c
@@ -2129,7 +2129,7 @@ parse_cur_token_decl:
 			}
 			char *ident = string_steal(tok->tokv.str);
 			*tok = proc_next_token(prep);
-			while ((tok->tokt == PTOK_IDENT) && !strcmp(string_content(tok->tokv.str), "__attribute__")) {
+			while ((tok->tokt == PTOK_IDENT) && (!strcmp(string_content(tok->tokv.str), "__attribute__") || !strcmp(string_content(tok->tokv.str), "__attribute"))) {
 				// Attribute
 				string_del(tok->tokv.str);
 				*tok = proc_next_token(prep);