From: mquinson Date: Thu, 12 Aug 2004 02:45:57 +0000 (+0000) Subject: [after] last minute bug fixes X-Git-Tag: v3.3~4972 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c42699bbf6e3a914278db129dcdd82ba551be4fe [after] last minute bug fixes git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@377 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/configure.ac b/configure.ac index ea6c2a546d..6fd65829e3 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ(2.59) #We need a recent ACI ACI_PREREQ(2003.01.16) -AC_INIT([GRAS],[0.5],[martin.quinson@ens-lyon.fr]) +AC_INIT([GRAS],[0.6],[martin.quinson@ens-lyon.fr]) AC_CONFIG_SRCDIR([src/include/gras.h]) AC_CONFIG_HEADERS([src/gras_config.h]) 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.