From ec95665e087d39e29ece455b90e7d5918dc88cee Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Thu, 25 Aug 2016 16:03:57 +0200 Subject: Reuse types from parameters in function definitons In order to allow introducing structs in parameter definitions the environment must keep the type information. Bug 19602 --- cparser/Env.mli | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cparser/Env.mli') diff --git a/cparser/Env.mli b/cparser/Env.mli index b650f0f8..a794d4a4 100644 --- a/cparser/Env.mli +++ b/cparser/Env.mli @@ -76,3 +76,5 @@ val add_ident : t -> C.ident -> C.storage -> C.typ -> t val add_composite : t -> C.ident -> composite_info -> t val add_typedef : t -> C.ident -> typedef_info -> t val add_enum : t -> C.ident -> enum_info -> t + +val add_types : t -> t -> t -- cgit