From 0c73ba202a910d5ab2ae900a56264fc1534f0214 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Wed, 7 Dec 2016 16:03:17 +0100 Subject: Next try for support of anonymous structs. Instead of using idents the anonymous fileds get names of the for _c where c is a counter of all anonymous members. Bug 20003 --- cparser/C.mli | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cparser/C.mli') diff --git a/cparser/C.mli b/cparser/C.mli index 8d8f2805..cacdbe7c 100644 --- a/cparser/C.mli +++ b/cparser/C.mli @@ -158,7 +158,8 @@ type typ = type field = { fld_name: string; fld_typ: typ; - fld_bitfield: int option + fld_bitfield: int option; + fld_anonymous: bool; } type struct_or_union = -- cgit