Skip to contentSkip to conversation

handle __alignof as equivalent of __alignof__

PATCH New Al Viro 1 participant 1 message May 25, 2007 Sparse checker

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 handle __alignof as equivalent of __alignof__

---
 expression.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
expression.c +1 -0
index 457e1fd..cf076a9 100644
@@ -544,6 +544,7 @@ static struct token *unary_expression(struct token *token, struct expression **t
 			} type_information[] = {
 				{ &sizeof_ident, EXPR_SIZEOF },
 				{ &__alignof___ident, EXPR_ALIGNOF },
+				{ &__alignof_ident, EXPR_ALIGNOF },
 				{ &__sizeof_ptr___ident, EXPR_PTRSIZEOF },
 			};
 			int i;
Signature · 1 line
1.5.0-rc2.GIT