X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2b2f8865b7d2f38344cb01a253c9018643598c10..c42699bbf6e3a914278db129dcdd82ba551be4fe:/src/gras/DataDesc/ddt_parse.c diff --git a/src/gras/DataDesc/ddt_parse.c b/src/gras/DataDesc/ddt_parse.c index 38f55eea5c..b206811b30 100644 --- a/src/gras/DataDesc/ddt_parse.c +++ b/src/gras/DataDesc/ddt_parse.c @@ -282,8 +282,11 @@ static gras_error_t parse_statement(char *definition, } else if (!strcmp(identifier.type_name, "char")) { identifier.type = gras_datadesc_by_name("char"); - } else { /* impossible */ - PARSE_ERROR0("The Impossible Did Happen (once again)"); + } else { + DEBUG1("Base type is a constructed one (%s)",identifier.type_name); + identifier.type = gras_datadesc_by_name(identifier.type_name); + if (!identifier.type) + PARSE_ERROR1("Unknown base type '%s'",identifier.type_name); } } /* Now identifier.type and identifier.name speak about the base type.