diff options
Diffstat (limited to 'semantics.c')
-rw-r--r-- | semantics.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/semantics.c b/semantics.c index 83e4744..75ee872 100644 --- a/semantics.c +++ b/semantics.c @@ -1135,6 +1135,7 @@ ExpType exp_check_postfix(CNode *p, CScope_t scope) { if (!(t1 == CSTRUCT || t1 == CUNION)) ERROR((p, "request for the member in something not a structure or union")); { + calc_size(op1.type); CVar_t fv = ctable_lookup(op1.type->rec.st.fields, post->chd->rec.strval); if (!fv) |