diff options
Diffstat (limited to 'src/datatype.c')
-rw-r--r-- | src/datatype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datatype.c b/src/datatype.c index 0e745833..ac9f2af1 100644 --- a/src/datatype.c +++ b/src/datatype.c @@ -118,7 +118,7 @@ struct error_record *symbol_parse(const struct expr *sym, { const struct datatype *dtype = sym->dtype; - assert(sym->ops->type == EXPR_SYMBOL); + assert(sym->etype == EXPR_SYMBOL); if (dtype == NULL) return error(&sym->location, "No symbol type information"); |