projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improvements in statement parsing, improvements in ast printing
[cparser]
/
type_t.h
diff --git
a/type_t.h
b/type_t.h
index
4767d51
..
5fc4a3e
100644
(file)
--- a/
type_t.h
+++ b/
type_t.h
@@
-83,6
+83,7
@@
struct enum_type_t {
symbol_t *symbol;
enum_entry_t *entries;
source_position_t source_position;
symbol_t *symbol;
enum_entry_t *entries;
source_position_t source_position;
+ enum_type_t *next;
};
struct pointer_type_t {
};
struct pointer_type_t {
@@
-90,18
+91,17
@@
struct pointer_type_t {
type_t *points_to;
};
type_t *points_to;
};
-struct method_parameter_type_t {
- type_t *type;
- symbol_t *symbol;
- method_parameter_type_t *next;
+struct method_parameter_t {
+ type_t *type;
+ method_parameter_t *next;
};
struct method_type_t {
};
struct method_type_t {
- type_t
type;
- type_t
*result_type;
- method_parameter_t
ype_t *parameter_type
s;
- int
variadic;
- int
unspecified_parameters;
+ type_t type;
+ type_t *result_type;
+ method_parameter_t
*parameter
s;
+ int variadic;
+ int unspecified_parameters;
};
struct compound_type_t {
};
struct compound_type_t {
@@
-109,6
+109,8
@@
struct compound_type_t {
symbol_t *symbol;
context_t context;
source_position_t source_position;
symbol_t *symbol;
context_t context;
source_position_t source_position;
+ int defined;
+ compound_type_t *next;
};
#endif
};
#endif