Showing the changes to tcc.h (1 of 4 files). Show all
Unified · Split
| @@ -1051,6 +1051,9 @@ struct filespec { · 1050 unmodified lines | |||
| 1051 | #define IS_ENUM_VAL(t) ((t & VT_STRUCT_MASK) == VT_ENUM_VAL) | 1051 | #define IS_ENUM_VAL(t) ((t & VT_STRUCT_MASK) == VT_ENUM_VAL) |
| 1052 | #define IS_UNION(t) ((t & (VT_STRUCT_MASK|VT_BTYPE)) == VT_UNION) | 1052 | #define IS_UNION(t) ((t & (VT_STRUCT_MASK|VT_BTYPE)) == VT_UNION) |
| 1053 | 1053 | ||
| 1054 | #define VT_ATOMIC VT_VOLATILE | ||
| 1055 | #define VT_MEMMODEL (VT_STATIC | VT_ENUM_VAL | VT_TYPEDEF) | ||
| 1056 | |||
| 1054 | /* type mask (except storage) */ | 1057 | /* type mask (except storage) */ |
| 1055 | #define VT_STORAGE (VT_EXTERN | VT_STATIC | VT_TYPEDEF | VT_INLINE) | 1058 | #define VT_STORAGE (VT_EXTERN | VT_STATIC | VT_TYPEDEF | VT_INLINE) |
| 1056 | #define VT_TYPE (~(VT_STORAGE|VT_STRUCT_MASK)) | 1059 | #define VT_TYPE (~(VT_STORAGE|VT_STRUCT_MASK)) |
| @@ -1418,6 +1421,7 @@ ST_FUNC void tccpp_delete(TCCState *s); · 361 unmodified lines | |||
| 1418 | ST_FUNC int tcc_preprocess(TCCState *s1); | 1421 | ST_FUNC int tcc_preprocess(TCCState *s1); |
| 1419 | ST_FUNC void skip(int c); | 1422 | ST_FUNC void skip(int c); |
| 1420 | ST_FUNC NORETURN void expect(const char *msg); | 1423 | ST_FUNC NORETURN void expect(const char *msg); |
| 1424 | ST_FUNC NORETURN void expect_arg(const char *msg, size_t arg); | ||
| 1421 | 1425 | ||
| 1422 | /* space excluding newline */ | 1426 | /* space excluding newline */ |
| 1423 | static inline int is_space(int ch) { | 1427 | static inline int is_space(int ch) { |