added offsets to record type structure
This commit is contained in:
@ -24,6 +24,8 @@ typedef struct {
|
||||
typedef struct {
|
||||
int numofelements;
|
||||
struct SymbolTable *recordScope;
|
||||
int totalsize;
|
||||
int offsets[];
|
||||
} record_info;
|
||||
|
||||
typedef struct {
|
||||
@ -164,4 +166,4 @@ extern char *COLOR_YELLOW;
|
||||
extern char *COLOR_LIGHTBLUE;
|
||||
extern char *COLOR_LIGHTPURPLE;
|
||||
extern char *COLOR_LIGHTCYAN;
|
||||
extern char *COLOR_WHITE;
|
||||
extern char *COLOR_WHITE;
|
||||
|
Reference in New Issue
Block a user