projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove more unnecessary XXX_INVALID constants
[cparser]
/
type_t.h
diff --git
a/type_t.h
b/type_t.h
index
68e0966
..
194c1b5
100644
(file)
--- a/
type_t.h
+++ b/
type_t.h
@@
-32,7
+32,7
@@
#include "adt/obst.h"
typedef enum type_kind_t {
#include "adt/obst.h"
typedef enum type_kind_t {
- TYPE_ERROR,
+ TYPE_ERROR
= 1
,
TYPE_ATOMIC,
TYPE_COMPLEX,
TYPE_IMAGINARY,
TYPE_ATOMIC,
TYPE_COMPLEX,
TYPE_IMAGINARY,
@@
-106,8
+106,7
@@
struct function_parameter_t {
/** Linkage specifications. */
typedef enum linkage_kind_t {
/** Linkage specifications. */
typedef enum linkage_kind_t {
- LINKAGE_INVALID,
- LINKAGE_C, /**< C linkage. */
+ LINKAGE_C = 1, /**< C linkage. */
LINKAGE_CXX /**< C++ linkage. */
} linkage_kind_t;
LINKAGE_CXX /**< C++ linkage. */
} linkage_kind_t;