From 80b61f4b1562f3f2c0eee4d1eba8ee9b053493d0 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Mon, 4 Feb 2008 04:45:16 +0000 Subject: [PATCH] Added "GTY" as synonym for __attribute__. Updated gperf output. --- lib-src/etags.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib-src/etags.c b/lib-src/etags.c index 52bcb8ad11d..ba0be441bd9 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -2465,6 +2465,7 @@ while, 0, st_C_ignore switch, 0, st_C_ignore return, 0, st_C_ignore __attribute__, 0, st_C_attribute +GTY, 0, st_C_attribute @interface, 0, st_C_objprot @protocol, 0, st_C_objprot @implementation,0, st_C_objimpl @@ -2528,9 +2529,9 @@ hash (str, len) 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, - 35, 35, 35, 35, 35, 35, 35, 35, 35, 15, - 14, 35, 35, 35, 35, 35, 35, 35, 14, 35, - 35, 35, 35, 12, 13, 35, 35, 35, 35, 12, + 35, 35, 35, 35, 35, 35, 35, 35, 35, 3, + 26, 35, 35, 35, 35, 35, 35, 35, 27, 35, + 35, 35, 35, 24, 0, 35, 35, 35, 35, 0, 35, 35, 35, 35, 35, 1, 35, 16, 35, 6, 23, 0, 0, 35, 22, 0, 35, 35, 5, 0, 0, 15, 1, 35, 6, 35, 8, 19, 35, 16, @@ -2581,7 +2582,7 @@ in_word_set (str, len) { {""}, {""}, {"if", 0, st_C_ignore}, - {""}, + {"GTY", 0, st_C_attribute}, {"@end", 0, st_C_objend}, {"union", 0, st_C_struct}, {"define", 0, st_C_define}, -- 2.39.5