From 8b2a3fa0eae0f49b78c0c5f845d3824d21f98df3 Mon Sep 17 00:00:00 2001 From: Alasdair Date: Tue, 1 Dec 2020 03:26:33 +0000 Subject: Enum value feature request for Alexandre --- src/parse_ast.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parse_ast.ml') diff --git a/src/parse_ast.ml b/src/parse_ast.ml index c7b01ba5..1dc610d7 100644 --- a/src/parse_ast.ml +++ b/src/parse_ast.ml @@ -435,7 +435,7 @@ type_def_aux = (* Type definition body *) TD_abbrev of id * typquant * kind * atyp (* type abbreviation *) | TD_record of id * typquant * ((atyp * id)) list * bool (* struct type definition *) | TD_variant of id * typquant * (type_union) list * bool (* union type definition *) - | TD_enum of id * (id) list * bool (* enumeration type definition *) + | TD_enum of id * (id * atyp) list * (id * exp option) list * bool (* enumeration type definition *) | TD_bitfield of id * atyp * (id * index_range) list (* register mutable bitfield type definition *) type -- cgit v1.2.3