aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
authorAl Viro <viro@ftp.linux.org.uk>2007-05-25 04:57:29 +0100
committerJosh Triplett <josh@freedesktop.org>2007-05-26 17:36:26 -0700
commit18f4da454398c9de3518bb1834403a745ab0746a (patch)
tree6904ff020778a760aee2f71c7750c2d1929add55
parenta19ffc43d215c4554108e1cd42591484ed79a8a5 (diff)
downloadsparse-dev-18f4da454398c9de3518bb1834403a745ab0746a.tar.gz
handle __alignof as equivalent of __alignof__
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--expression.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/expression.c b/expression.c
index 457e1fd0..cf076a9e 100644
--- a/expression.c
+++ b/expression.c
@@ -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;