fix cases where compoundlits are constant/get an entity
[cparser] / entity.h
1 /*
2  * This file is part of cparser.
3  * Copyright (C) 2007-2009 Matthias Braun <matze@braunis.de>
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License
7  * as published by the Free Software Foundation; either version 2
8  * of the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18  * 02111-1307, USA.
19  */
20 #ifndef ENTITY_H
21 #define ENTITY_H
22
23 typedef struct scope_t                      scope_t;
24
25 typedef struct entity_base_t                entity_base_t;
26 typedef struct compound_t                   compound_t;
27 typedef struct enum_t                       enum_t;
28 typedef struct enum_value_t                 enum_value_t;
29 typedef struct label_t                      label_t;
30 typedef struct namespace_t                  namespace_t;
31 typedef struct declaration_t                declaration_t;
32 typedef struct typedef_t                    typedef_t;
33 typedef struct variable_t                   variable_t;
34 typedef struct function_t                   function_t;
35 typedef struct compound_member_t            compound_member_t;
36 typedef union  entity_t                     entity_t;
37
38 typedef unsigned                            decl_modifiers_t;
39
40 #endif