Add options:
[cparser] / lang_features.h
1 #ifndef LANG_FEATURES_H
2 #define LANG_FEATURES_H
3
4 enum lang_features {
5         _ANCIENT = 1,
6         _ANSI    = 2,
7         _C99     = 4,
8         _GNUC    = 8,
9         _MS      = 16,
10         _ALL     = 0xFF
11 };
12
13 /* the current C mode/dialect */
14 extern unsigned int c_mode;
15
16 /* the 'machine size', 16, 32 or 64 bit */
17 extern unsigned int machine_size;
18
19 /* true if the char type is signed */
20 extern bool char_is_signed;
21
22 #endif