diff options
author | 2014-03-28 08:20:14 +0000 | |
---|---|---|
committer | 2014-03-28 08:20:14 +0000 | |
commit | c677f108ff340c5bca67b428aa6e56b47f62da8c (patch) | |
tree | f75acecc7abe80cf06cfe01a938bdc56620137c6 /cparser/Cutil.mli | |
parent | f37a87e35850e57febba0a39ce3cb526e7886c10 (diff) |
C: Support array initializers that are too short + default init for remainder.
Elab: Handle C99 designated initializers.
C2C, Initializers: more precise intermediate AST for initializers.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2439 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'cparser/Cutil.mli')
-rw-r--r-- | cparser/Cutil.mli | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cparser/Cutil.mli b/cparser/Cutil.mli index 35f7338..9f59a76 100644 --- a/cparser/Cutil.mli +++ b/cparser/Cutil.mli @@ -207,3 +207,8 @@ val printloc: out_channel -> location -> unit val formatloc: Format.formatter -> location -> unit (* Printer for locations (for Format) *) +(* Initializers *) + +val default_init: Env.t -> typ -> init + (* Return a default initializer for the given type + (with zero numbers, null pointers, etc). *) |