diff options
| author | Joe Soroka <gits@joesoroka.com> | 2011-02-04 17:54:08 -0800 |
|---|---|---|
| committer | Joe Soroka <gits@joesoroka.com> | 2011-02-04 17:54:08 -0800 |
| commit | 3b4b3b75a6befc521fbb4b9cb54e8131c1c35811 (patch) | |
| tree | f0e236da940f6316abe1ba1b7548fe5df3801670 | |
| parent | db560e9439deaef3c15aa353828fd4d98a1b5f8c (diff) | |
| download | tinycc-3b4b3b75a6befc521fbb4b9cb54e8131c1c35811.tar.gz tinycc-3b4b3b75a6befc521fbb4b9cb54e8131c1c35811.tar.bz2 | |
revert "update VT_STRUCT_SHIFT for new VT_VLA"
| -rw-r--r-- | tcc-doc.texi | 2 | ||||
| -rw-r--r-- | tcc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tcc-doc.texi b/tcc-doc.texi index 14827aa..8c91d0f 100644 --- a/tcc-doc.texi +++ b/tcc-doc.texi @@ -931,7 +931,7 @@ be the best solution. #define VT_ARRAY 0x0020 /* array type (also has VT_PTR) */ #define VT_BITFIELD 0x0040 /* bitfield modifier */ -#define VT_STRUCT_SHIFT 18 /* structure/enum name shift (14 bits left) */ +#define VT_STRUCT_SHIFT 17 /* structure/enum name shift (14 bits left) */ @end example When a reference to another type is needed (for pointers, functions and @@ -630,7 +630,7 @@ struct TCCState { #define VT_EXPORT 0x00008000 /* win32: data exported from dll */ #define VT_WEAK 0x00010000 /* win32: data exported from dll */ -#define VT_STRUCT_SHIFT 18 /* shift for bitfield shift values */ +#define VT_STRUCT_SHIFT 17 /* shift for bitfield shift values */ /* type mask (except storage) */ #define VT_STORAGE (VT_EXTERN | VT_STATIC | VT_TYPEDEF | VT_INLINE | VT_IMPORT | VT_EXPORT | VT_WEAK) |
