aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/pre_parser.mly
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2014-05-15 07:27:56 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2014-05-15 07:27:56 +0000
commitb30f9ce6a87e94b34c1420323e445c07eee8305e (patch)
treeda5f7a1b52ed61b4dda6d01b8c1a71193279601e /cparser/pre_parser.mly
parentedc00e0c90a5598f653add89f42a095d8ee1b629 (diff)
downloadcompcert-kvx-b30f9ce6a87e94b34c1420323e445c07eee8305e.tar.gz
compcert-kvx-b30f9ce6a87e94b34c1420323e445c07eee8305e.zip
- 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
Diffstat (limited to 'cparser/pre_parser.mly')
-rw-r--r--cparser/pre_parser.mly1
1 files changed, 1 insertions, 0 deletions
diff --git a/cparser/pre_parser.mly b/cparser/pre_parser.mly
index 0a43df73..5135d606 100644
--- a/cparser/pre_parser.mly
+++ b/cparser/pre_parser.mly
@@ -358,6 +358,7 @@ struct_or_union:
{}
struct_declaration_list:
+| (* empty *)
| struct_declaration_list? struct_declaration
{}