summaryrefslogtreecommitdiff
path: root/src/parse_ast.ml
diff options
context:
space:
mode:
authorAlasdair2020-12-01 03:26:33 +0000
committerAlasdair2021-01-05 11:11:04 +0000
commit8b2a3fa0eae0f49b78c0c5f845d3824d21f98df3 (patch)
treef9e9fe3752446e3e0fdab6427e8e9fad087bdc7e /src/parse_ast.ml
parentc4723c747fec4557776858641b03e1eb4a0a5878 (diff)
Enum value feature request for Alexandre
Diffstat (limited to 'src/parse_ast.ml')
-rw-r--r--src/parse_ast.ml2
1 files changed, 1 insertions, 1 deletions
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