]> pd.if.org Git - lice/blob - init.h
autocommit for files dated 2014-11-17 20:15:20
[lice] / init.h
1 #ifndef LICE_INIT_HDR
2 #define LICE_INIT_HDR
3 #include "ast.h"
4 #include "util.h"
5
6 /*
7  * Function: init_entry
8  *  The core entry point to initializer parsing.
9  *
10  * Parameters:
11  *  type - Base type of the current initializer
12  *
13  * Returns:
14  *  A list containing all the initialization nodes for the initializer
15  *
16  * Remarks:
17  *  Deals with all forms of initialization, lists, aggregates, including
18  *  designated versions for user defined unions, structures, arrays and
19  *  enumerations.
20  *
21  *  Will raise compiler error if syntax or lexical error in initializer
22  *  resulting in a NULL, or partially filled list of ast initializer
23  *  nodes.
24  */
25 list_t *init_entry(data_type_t *type);
26
27 #endif