summaryrefslogtreecommitdiffstats
path: root/src/datatype.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datatype.c')
-rw-r--r--src/datatype.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/datatype.c b/src/datatype.c
index 3a2f19d8..3c17e929 100644
--- a/src/datatype.c
+++ b/src/datatype.c
@@ -585,6 +585,13 @@ static void mark_type_print(const struct expr *expr)
static struct error_record *mark_type_parse(const struct expr *sym,
struct expr **res)
{
+ struct error_record *erec;
+
+ erec = sym->dtype->basetype->parse(sym, res);
+ if (erec != NULL)
+ return erec;
+ if (*res)
+ return NULL;
return symbolic_constant_parse(sym, mark_tbl, res);
}