Revert "Implement C99 Variable Length Arrays"

This reverts commit a5a50eaafe.
This commit is contained in:
Thomas Preud'homme
2011-02-05 02:31:45 +01:00
parent 38f6467c06
commit db560e9439
6 changed files with 33 additions and 169 deletions

2
tcc.h
View File

@ -224,7 +224,6 @@ typedef struct Sym {
union {
long c; /* associated number */
int *d; /* define token stream */
SValue *s; /* associated stack value */
};
CType type; /* associated type */
union {
@ -617,7 +616,6 @@ struct TCCState {
#define VT_BTYPE 0x000f /* mask for basic type */
#define VT_UNSIGNED 0x0010 /* unsigned type */
#define VT_ARRAY 0x0020 /* array type (also has VT_PTR) */
#define VT_VLA 0x10000 /* VLA type (also has VT_PTR and VT_ARRAY) */
#define VT_BITFIELD 0x0040 /* bitfield modifier */
#define VT_CONSTANT 0x0800 /* const modifier */
#define VT_VOLATILE 0x1000 /* volatile modifier */