added offset code in symbol table for records

This commit is contained in:
Partho
2025-04-09 15:15:17 -04:00
parent d17e99758f
commit 859ff3fd03
3 changed files with 166 additions and 3 deletions

View File

@ -24,8 +24,8 @@ typedef struct {
typedef struct {
int numofelements;
struct SymbolTable *recordScope;
int totalsize;
int offsets[];
int total_size;
int* offsets;
} record_info;
typedef struct {