From b30f9ce6a87e94b34c1420323e445c07eee8305e Mon Sep 17 00:00:00 2001 From: xleroy Date: Thu, 15 May 2014 07:27:56 +0000 Subject: - Re-added support for "__func__" identifier as per ISO C99. - Support for empty structs and unions - Better handling of "extern" and "extern inline" function definitions. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2493 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- cparser/Parser.vy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cparser/Parser.vy') diff --git a/cparser/Parser.vy b/cparser/Parser.vy index b59997d..a4cdb0d 100644 --- a/cparser/Parser.vy +++ b/cparser/Parser.vy @@ -419,8 +419,8 @@ struct_or_union: { (UNION, loc) } struct_declaration_list: -| decl = struct_declaration - { [decl] } +| (* empty *) + { nil } | qdecls = struct_declaration_list tdecls = struct_declaration { tdecls::qdecls } -- cgit v1.2.3