From 285933f8ca633495e7e4d03481a58ead3323c504 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Thu, 7 Jun 2018 15:26:02 +0200 Subject: Remove the `_Alignas(expr)` construct (#125) The `_Alignas(expr)` construct is not C11, only `_Alignas(type)` is. --- cparser/Cabs.v | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cparser/Cabs.v') diff --git a/cparser/Cabs.v b/cparser/Cabs.v index b3e4ffda..5865ab69 100644 --- a/cparser/Cabs.v +++ b/cparser/Cabs.v @@ -140,8 +140,7 @@ with expression := | MEMBEROFPTR : expression -> string -> expression (* Non-standard *) - | EXPR_ALIGNOF : expression -> expression - | TYPE_ALIGNOF : (list spec_elem * decl_type) -> expression + | ALIGNOF : (list spec_elem * decl_type) -> expression | BUILTIN_OFFSETOF : (list spec_elem * decl_type) -> list initwhat -> expression with constant := -- cgit